pullmyefinger
Registered User.
- Local time
- Today, 15:08
- Joined
- Feb 26, 2011
- Messages
- 37
I have two tables that i am trying to put in a form. The first one works cbolocations/qrylocations,
but the Equipment table does not. I added the table to the form as a query and changed the control sources for each textbox to bind the textboxes to the appropriate fields, but I cannot edit or save them.
I also need to be able to store information in "global variables" across event procedures cbo/afterupdate event, and access them in another table to automatically store/write those values for the user..
Tables: tbllocations and Eqpt (in Form1)
in tbllocations I need to say:
somevar1=!seqnum (the value in the seqnum field)
somevar2=!loccode(the value in the loccode field)
Then close tbllocations and open the Eqpt table and:
Seqnum(in eqpt table) = somevar1
loccode(in eqpt table) = somevar2
Itemcode(in eqpt table) = somevar2 + CStr(somevar1)
Then finish adding all the info to the textboxes and save the record.
I cannot figure out why the fields are giving me #Name? in the textboxes when I set the control source and added a new record?????
I thought i uploaded the .mdb but it does not show on here anywhere..
but the Equipment table does not. I added the table to the form as a query and changed the control sources for each textbox to bind the textboxes to the appropriate fields, but I cannot edit or save them.
I also need to be able to store information in "global variables" across event procedures cbo/afterupdate event, and access them in another table to automatically store/write those values for the user..
Tables: tbllocations and Eqpt (in Form1)
in tbllocations I need to say:
somevar1=!seqnum (the value in the seqnum field)
somevar2=!loccode(the value in the loccode field)
Then close tbllocations and open the Eqpt table and:
Seqnum(in eqpt table) = somevar1
loccode(in eqpt table) = somevar2
Itemcode(in eqpt table) = somevar2 + CStr(somevar1)
Then finish adding all the info to the textboxes and save the record.
I cannot figure out why the fields are giving me #Name? in the textboxes when I set the control source and added a new record?????
I thought i uploaded the .mdb but it does not show on here anywhere..
Last edited: