Travis Posted June 15, 2004 Posted June 15, 2004 I need to know how to give my records in multiple tables unique ID numbers. How should I do this?
jscooper Posted June 15, 2004 Posted June 15, 2004 Assuming you have a serial # (SerialID) in each table already: In each table. make a global and/or calculation field, call it TableID and set it = "TableA" (or whatever you want to use to identify the table), then make a field called "GloballyUniqueID" and set it equal to TableA & numtotext(SerialID) If you want it to be numeric, then set a very big number for TableID, like 10000000 and set GloballyUniqueID = TableID + SerialID (then set TableID to 20000000 in your other table, 30000000 in the third, etc). Jeff
Damocles Posted June 16, 2004 Posted June 16, 2004 There was a great (revisited and lengthy) discussion of unique IDs in the "Sample Files" forum. IF you want each record to have a unique ID, the solution presented is very well done. The subject line for the discussion is: "Unique Auto-entered Primary Key IDs v2.0" Good luck! Paul
Recommended Posts
This topic is 7535 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now