Hi all,
I have some code that is going to make a new record in a table thus generating an autonumber.
Then I want to take that autonumber and append that with some of the original data and paste it into another table.
Whats the easiest way of doing something like that? I know I can do it the hard way and append to the first table. Use a unique field from the orig table to find the newly created record and use then create a new append query based off of that. Seems like there should be an easier way though.
Also, this is an ADP project so I can use SQL stored procedures if that would make it easier. I know there is a output variable part in stored procedures but I don't know how to use it yet.
Any help is appreciated!
Chris
I have some code that is going to make a new record in a table thus generating an autonumber.
Then I want to take that autonumber and append that with some of the original data and paste it into another table.
Whats the easiest way of doing something like that? I know I can do it the hard way and append to the first table. Use a unique field from the orig table to find the newly created record and use then create a new append query based off of that. Seems like there should be an easier way though.
Also, this is an ADP project so I can use SQL stored procedures if that would make it easier. I know there is a output variable part in stored procedures but I don't know how to use it yet.
Any help is appreciated!
Chris