K
Kurtb4 via AccessMonster.com
Hello,
I need help transferring data into an tblinventory table from a tblorder
table.
In the table 'tblorder' I have an order pending of quantity '50' of
description "Abc" and partNo "123". After the parts are manufactured I would
like to transfer them into a table 'tblInventory' and assign serial numbers.
So far I have created a form and a command button with the underlying code:
Dim lSerial As Long
For lSerial = me.txtFirstSerial To Me.txtLastSerial
CurrentDB.Execute "INSERT INTO tblInventory (SerialNumber) VALUES (" &
lSerial &")"
Next
My problem is that I cannot figure out how to also transfer the description
and the part number as well. Perhaps there is a way that I did not think
about. Any help will be appreciated.
Regards,
Kurt Boettcher
I need help transferring data into an tblinventory table from a tblorder
table.
In the table 'tblorder' I have an order pending of quantity '50' of
description "Abc" and partNo "123". After the parts are manufactured I would
like to transfer them into a table 'tblInventory' and assign serial numbers.
So far I have created a form and a command button with the underlying code:
Dim lSerial As Long
For lSerial = me.txtFirstSerial To Me.txtLastSerial
CurrentDB.Execute "INSERT INTO tblInventory (SerialNumber) VALUES (" &
lSerial &")"
Next
My problem is that I cannot figure out how to also transfer the description
and the part number as well. Perhaps there is a way that I did not think
about. Any help will be appreciated.
Regards,
Kurt Boettcher