Dear All,
I have a text box on a form, and what I would like to do is to bind not a fix field of the datasource (eg Result2004) to this control, but to bind a field that is a result of an expression
eg. if the value of combo0 is 2004, then bind field Result2004 from the datasource, if the value of combo0 is 2005 then bind field Result2005 etc etc
I tried ="result"&me.combo0, but I got a #...
Simon_MT Registered User replied 3 months, 2 weeks ago
Are the tables linked to a Backend. I would use a Subreport in the Header from tblCompanyInfo and the Detail without a subreport. You could put Company into all your tables and create a Parent / Child relationship on the Subreport.
Simon
krellda Registered User replied 3 months, 2 weeks ago
I need to post to move this back up the forum.
Would it be a case of making primary keys and linking them, and then making some kind of function, or macro or whatever to open the other form to the form of the same primary key? if so what function can do this?
krellda Registered User replied 3 months, 2 weeks ago
I have figured out the solution to this problem.
I feel i should post it here to help the other person involved.
The simplest way to do this is to create a Field with unique information
in my system it is 'Case Number' i fill in the case number which currently is just 1, 2, 3 and so on but when finalise everything i may use something more meaningful.
Make this field on both tables and ...
MayoRR5 Registered User replied 3 months, 2 weeks ago
Hi all,
I'm having a problem with a "calculating text box".
In the [Item_Total] box I have the control source "=[SumOfQuantity]*[Unit_Rate]" and [Unit_Rate] is a value that is calculated in the Query controlling the Report.
All works fine to this point. Then I have a group header and report footer and have a Sum control in a text box in both the header and the footer (not linked). ...
timothyl Registered User replied 3 months, 2 weeks ago
lagbolt, thank you for the code that worked, alas I can't do what I had hoped, which was to take the transparent form and also hide the Access window and match the text boxes to the input form of a data system we use here and auto populate it with the data in access. I had hoped the data would "shine through". I thought I was being clever. But no I was'nt. Thanks again
Atomic Shrimp Humanoid lifeform replied 3 months, 2 weeks ago
For extra credit, see if you can work out how you would launch it without using the hardware keyboard or any helpful shortcuts...
(i.e. if asked to assist in a case of broken keyboard)
ashleybyrdnc Registered User replied 3 months, 2 weeks ago
I want to have a Form where a list of Sales Reps with a Check Box appear. If the check box is selected I would like a certain date and the rep name appended to a table.
Any Ideas where to start?
Quote:
Originally Posted by gemma-the-husky
not sure how you are doing this
but i do it like this
have a "selected" flag in the table you are using
base the left list, on a query selecting those items where selected=false
base the right list, on a query selecting those items where selected=true
all your "move" button ...
Or, if you're not comfortable working with queries, you could just add a line or lines to the Wizard generated code to reset the values of the fields you don't want copied: DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70 DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append Me.Textbox1 = Null Me.Textbox2 = Null Me.Textbox3 = Null People say the...
You could use this technique: http://www.baldyweb.com/wherecondition.htm with a DMax to get the largest tracking number instead of getting the value from the form.
you're talking about an invoice here. you probably need to use a report for that. for help with the BOL though, you may need to upload the database, because it is very hard to gague what you actually need or what needs to be done just by seeing a picture.
Quote: Originally Posted by kyuball (I'm a pretty stupid dude...) I was hoping someone would be able to give me at least some hints as to how to approach this... i doubt very much if that were true. we'll sort it out, don't worry mate
Cheers, I do have a primary key in my dicipline field set to auto number. Then a text field with the disciplines in. Thats why I think it has to do with my tblStaff and the fldDiscipline within it. This is a text field and in my form, my form field cboDiscipline has 2 columns, Bound column = 2 and field sizes are 0cm;5cm. I think its just my relationship and field names in the 2 tables. I have a number of fields on my form which are combos...
If you have three fields and you only want to show 2 then Example: Columnwidths :0cm;3cm;3cm you choose which column to hide by setting it/them to zero David
Thread profile page for "Bind variable field to a text box" on http://www.access-programmers.co.uk.
This report page is a snippet summary view from a single thread "Bind variable field to a text box", located on the Message Board at http://www.access-programmers.co.uk.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity