I'm trying to replicate the mcrContract macro in the Entertainment "Running Microsoft Access 2000" by John Viescas to assign IDs to new persons without skipping and numbers. I believe I have the conditions and actions set up correctly but I can't figure out how to have the Form start macro. I'd like for the ID to be assigned when I begin typing in the first field or when I save the record.
More specifically, the macro should assign ID 1 if this is the first contract or the highest contract # + 1 if it isn't. I'm using DMax ans ISNull Functions for Expression and Conditions.
Any ideas?
More specifically, the macro should assign ID 1 if this is the first contract or the highest contract # + 1 if it isn't. I'm using DMax ans ISNull Functions for Expression and Conditions.
Any ideas?