M
MackBlale
I want to create a button GenerateID control on my form that when pressed
will use the following expression Int((10000-1+1)*Rnd()+1) to generate a
random number and display the result in a text box.
I want to assign this number to tblEmployees in a field ClientID.
If the number already exists, I would like an error message "Generate
Again!", or automatically rerun the expression until a unique number is found.
There will never be more than 1,000 Client IDs.
will use the following expression Int((10000-1+1)*Rnd()+1) to generate a
random number and display the result in a text box.
I want to assign this number to tblEmployees in a field ClientID.
If the number already exists, I would like an error message "Generate
Again!", or automatically rerun the expression until a unique number is found.
There will never be more than 1,000 Client IDs.