Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

retrieving the last record number inserted in Access database?

Participant ,
Aug 01, 2011 Aug 01, 2011

is there a server behavior for  Dreamweaver CS 5 to retrieve the last record number inserted into a  database? I have two tables in an Access database, what is called  "login", the other is called "customer". The login entry is created  first, then upon successful creation the customer record is created and  inserted. I wish to tie the two tables together with the auto number  from the customer table inserted into a field in the login entry so that  once logged in the customer entry can then be accessed. So I am looking  for either a server behavior or some canned code that would do just  that. Is such a thing available?

Ross

TOPICS
Server side applications
353
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 01, 2011 Aug 01, 2011
LATEST

There is no server behavior for this. If you are using Jet 4.x, you can use the @@identity query:

http://support.microsoft.com/kb/232144/en-us

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines