JuniorWoodchuck24
Registered User.
- Local time
- Today, 02:33
- Joined
- Jan 13, 2010
- Messages
- 59
My problem is occuring due to the following:
I have a form that the user inputs information into and clicks a button to save this data to a table. Then the user goes into another form that on load pulls some of the table information.
The initial form value entered is based on a combo box, and it pulls in ID / LineSize. This is written to the table and the table's field value it set as Number: combobox so it shows the LineSize. 2 column count, 0";2"
My error is when I load it into the second form it pulls the ID number into the text box. Is there a way to pull the LineSize in? To Load I'm using the following:
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("tbl1", dbOpenDynaset)
Me.txtLinSize = rs!LineSize
I know that in certain instances to pull certain data from a combo box you do the cboLineSize.Column(1), but how would this syntax be used when pulling it off a table?
I have a form that the user inputs information into and clicks a button to save this data to a table. Then the user goes into another form that on load pulls some of the table information.
The initial form value entered is based on a combo box, and it pulls in ID / LineSize. This is written to the table and the table's field value it set as Number: combobox so it shows the LineSize. 2 column count, 0";2"
My error is when I load it into the second form it pulls the ID number into the text box. Is there a way to pull the LineSize in? To Load I'm using the following:
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("tbl1", dbOpenDynaset)
Me.txtLinSize = rs!LineSize
I know that in certain instances to pull certain data from a combo box you do the cboLineSize.Column(1), but how would this syntax be used when pulling it off a table?