73pixieGirl
Programmer
Hello,
I have a combo box on an input form that uses a query to get values of a field (deviceName) from another table (tblHardware). In the query I pull the deviceName and the deviceID. When the user selects a deviceName, I need to store the deviceID of the deviceName in a text field/table. The form's record source (tblSoftware) is the table that the data will be stored in. The query/combo box work great, I just don't know the syntax/method of grabbing the deviceID value and assigning that value to a field in another table. I have very very little VB experience. Can anyone help me please?
TIA!
I have a combo box on an input form that uses a query to get values of a field (deviceName) from another table (tblHardware). In the query I pull the deviceName and the deviceID. When the user selects a deviceName, I need to store the deviceID of the deviceName in a text field/table. The form's record source (tblSoftware) is the table that the data will be stored in. The query/combo box work great, I just don't know the syntax/method of grabbing the deviceID value and assigning that value to a field in another table. I have very very little VB experience. Can anyone help me please?
TIA!