Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New record show follow number

Status
Not open for further replies.

Copierbw

Technical User
Sep 25, 2002
112
IE
A person is able to submit a query.
On page A the variables are sent to page B that shows him all the data entered and also does the entry into the database. That all works.
After the insert into the database I want to be able to retrieve his entry to display the autonumber field in the database which he will use as ref for any queries linked to his name. Must I do a Select statement after the Insert on the same page B to be able to show him his ref number? Thanks

You don't need eyes to see just the vision because there are always more ways and different answers to what we are used to...
 
I am using MySQL and thanks that method just made it a lot easier for me. I don't have a lot of users so I am not too concerned about someone else making a entry on exactly the same time...Thanks again...

You don't need eyes to see just the vision because there are always more ways and different answers to what we are used to...
 
another entry cannot be made at the same time anyhow as each connection has its own ID number, each is handled separately. thats as far as i am aware anyhow.

To err is human, to completely mess up takes a computer. [morning]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top