Kenny Pollock
Apr 28 2006, 04:11 PM
I'm trying to run two queries. The second one enters data into a second table...but needs the id (auto incremented) from the first insert query. Is there any solution for this?
Sorry for bad typing... broke my hand last night, hard to get used to one finger typing.
James Mathias
Apr 28 2006, 04:24 PM
So to be clear,
You are running a query that adds a new record to your table, using an auto_incremeted ID
Then a second query that requires the ID from the first queries record.
Are you running them at the same time, or in order?
elj
Apr 28 2006, 04:39 PM
Kenny Pollock
Apr 28 2006, 07:31 PM
Thanks, I think that's exactly what I was looking for.