Good Morning!
Does anyone know if it is possible to retrieve the new
auto-incremented ID number upon creation of a new
record?
More precisely:
My code INSERTS a new record and upload a gif file on the
server at the same time. I am trying to use the new ID number as the file name.
But I can't get this number before or while it is created.
Getting the last record's ID number before adding the new record won't work when records have been deleted previously.
Then, does anyone know the way to "see the future" and get this damned number?
Thanks a lot for your help!
Does anyone know if it is possible to retrieve the new
auto-incremented ID number upon creation of a new
record?
More precisely:
My code INSERTS a new record and upload a gif file on the
server at the same time. I am trying to use the new ID number as the file name.
But I can't get this number before or while it is created.
Getting the last record's ID number before adding the new record won't work when records have been deleted previously.
Then, does anyone know the way to "see the future" and get this damned number?
Thanks a lot for your help!