A little background first.
I have 2 tables I am presently working with.
The first is a 'temporary' table. I will call this tblInvTemp
The second is a 'master' table. I wil call this one tblInvMaster.
Both tables have the exact same structure, and almost 160 fields.
When I want to add a new record to the master record, I first write it to the temp table, display the information for the user to confirm the information, and upon confirmation, write it to the master table. I am doing this using DAO 3.6.
I really dont want to write each individual field in my addnew command. Is there a way I can just mass transfer the data?
Rather than this:
tblInvTemp.addnew
tblInvTemp!strProductID = tblInvMaster!strProductID
tblInvTemp!memDescript = tblInvMaster!memdescript
...
another 160 times
tblInvTemp.update
Is there some way like this?:
tblInvTemp.addnew
tblInvTemp!* = tblInvMaster!*
tblInvTemp.update
Thanks for any help or ideas you can give,
Chuck
I have 2 tables I am presently working with.
The first is a 'temporary' table. I will call this tblInvTemp
The second is a 'master' table. I wil call this one tblInvMaster.
Both tables have the exact same structure, and almost 160 fields.
When I want to add a new record to the master record, I first write it to the temp table, display the information for the user to confirm the information, and upon confirmation, write it to the master table. I am doing this using DAO 3.6.
I really dont want to write each individual field in my addnew command. Is there a way I can just mass transfer the data?
Rather than this:
tblInvTemp.addnew
tblInvTemp!strProductID = tblInvMaster!strProductID
tblInvTemp!memDescript = tblInvMaster!memdescript
...
another 160 times
tblInvTemp.update
Is there some way like this?:
tblInvTemp.addnew
tblInvTemp!* = tblInvMaster!*
tblInvTemp.update
Thanks for any help or ideas you can give,
Chuck