Roger's Access Library Homepage
Forum Home Forum Home>Roger's Access Library>Roger's Download Samples
  New Posts New Posts RSS Feed: AutonumberProblem.mdb (beginner)
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

AutonumberProblem.mdb (beginner)

 Post Reply Post Reply
Author
Message / View First Unread Post
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Online Status: Offline
Posts: 218
Post Options Post Options   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: AutonumberProblem.mdb (beginner)
    Posted: 04 Aug 2008 at 11:40am

This sample illustrates a number of ways to simulate your own Autonumber primary key.

Form1 illustrates how to use the DMax function to simulate the action of the Autonumber field.

Form2 does much the same as the Products form, but allows for multi-user collisions.
 
Download
Access 97 (25 KB):
AutonumberProblem97.zip
Access 2000 (47 KB): AutonumberProblem2k.zip

Please consider donating $1 per sample downloaded, find out why here.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down