Select the max value after the insert is accomplished.
<cfquery name="in" datasource="#vector#">
select max(yourfield)
from yourtable
</cfquery>
Just be careful with MAX(). If you have a high transaction rate, then you
have a good chance of getting a bad ID back. If you do an insert, and then
someone else does an insert before you are able to run your SELECT MAX() query,
then you get back the wrong ID.
In Access 2000, I have been told that if you use the Jet 4.0 ODBC or higher it
will support the @@IDENTITY syntax like MS SQl Server does. May want to look
into that.
Bryan