I have a form I will use to change a set of records (Duplicate) to a new idenity.
I am dealing with course numbers. I first pick a cours number to duplicate...no problem...I have done this. Now I want to type in the new coursenumber in a text box...lets say I want to create a new course numbered 406. I already have many courses and I don't want to accidently duplicate a course number I already have.
So, I enter a number like 406 in the new course number field. Using an event (which one is best?)after the number is entered, how would I check a table/query containing all my course numbers to ensure 406 has not been used? If it has been used a MSG will indicate "Already usee". If not used...it will continue to run some other code....
Any quick ideas.
Thanks
I am dealing with course numbers. I first pick a cours number to duplicate...no problem...I have done this. Now I want to type in the new coursenumber in a text box...lets say I want to create a new course numbered 406. I already have many courses and I don't want to accidently duplicate a course number I already have.
So, I enter a number like 406 in the new course number field. Using an event (which one is best?)after the number is entered, how would I check a table/query containing all my course numbers to ensure 406 has not been used? If it has been used a MSG will indicate "Already usee". If not used...it will continue to run some other code....
Any quick ideas.
Thanks