I know it's been a while since you were asking about this,
but as long as your DB table has a field that is set to be an
identifier and is autonumbering, you can simply add a SELECT
request (to the DBMS identity scope) to the current INSERT request
and pull the ID that was assigned to the latest insert ... it will
eliminate a new quesry as suggested above.
So your general query would look something like :
<CFQUERY datasource="DBsrc" name="queryName">
INSERT into TABLE (x,y,z)
VALUES ('1','2','3')
SELECT SCOPE_IDENTITY() as TheID
</CFQUERY>
You would then call the variable as #queryName.TheID#