Copy record in same table (1 Viewer)

Msmartine

Registered User.
Local time
Yesterday, 21:03
Joined
Sep 15, 2014
Messages
26
Thank you both for your time and feedback. I will consider both approaches. I believe the version approach jdraw mentioned will simpler.
 

Gasman

Enthusiastic Amateur
Local time
Today, 02:03
Joined
Sep 21, 2011
Messages
14,350
Thank you both for your time and feedback. I will consider both approaches. I believe the version approach jdraw mentioned will simpler.

Have a default of 0 for VersionNum in the table.
Then just use Dmax() to get the latest and add 1 to it.

Make a unique index of ID and VersionNum to avoid potential duplicates.

Anyway, good luck with your DB.
 

Users who are viewing this thread

Top Bottom