How to retrive primary key for e-mail message after writing to SQL

X

xfile

Hi,

Can anyone help me this for retrieving primary key from SQL for sending
e-mail message after inserting data from form to table?

I know how to insert form data from form to the table, and then using data
from the form field for sending confirmation e-mail message to the user.

However, I wish to make it one step further by retrieving the primary key
from the row of the data just been inserted and placed it into the e-mail
message so it could be used as a reference number, for example.

Appreciate if anyone can give me some directions.

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top