How to generate a random ID number?

E

erick-flores

Hello all

I have been looking for the right-straigh forward answer to this
question in this NS but I just cant find it. I want to create a random
ID number everytime my form loads, thats all. Very simple, a random ID
number. Can somebody please help me here

Thank you
 
S

S.Y.M. Wong-A-Ton

If it doesn't matter what the number is, why not use the date? You can use
one of the date functions along with the substring() and concat() functions
to generate a number. You can use this as the default value of a field or
write your own code (algorithm) in the OnLoad event of the form to generate a
number.
 
Top