Retrive PK/id of newly inserted record using form

Hi

I’ve got a form that I’m using to create a new record. Is there a way to get the last inserted id so I can print (a label) with fields from the record including the id?

Thanks

Theo

Hi
You jut need to create custom function where you will collect (write) added item IDs to get the last from (i.e.) array

Thanks for the reply.
I thought about this method, but, in a multi user application the last added ID may not correspond to the current user’s last added. So I was wondering if there was another way to determine the DB’s assigned ID after insert based to the user session.

How do you connect with server? Is it dhtmlx dataprocessor or connector or it is your custom one?

I’m currently using dhtmlx data processor.