Why wouldn't:
/**/
Call sqlcommand 'q1', 'select last_insert_id() as lid'
Say q1.lid.1
do what you want ? q1.lid.1 has the last value of the
auto_increment column.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=86185
Why wouldn't:
/**/
Call sqlcommand 'q1', 'select last_insert_id() as lid'
Say q1.lid.1
do what you want ? q1.lid.1 has the last value of the
auto_increment column.