Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to auto populate a unique number in sequence.

Avatar

Level 3

I have a problem with writing a code to auto populate a unique number in sequence. The code that I wrote it populates a unique number but not in sequence. Can someone help me. example it populated number 1360606751723 when i opened the file next time it populated 1360606782552. Also, I want the number to be 4 digits and start at 8000.  Thank you.

initialize Java Script

var cDate = new Date();

this.rawValue = cDate.getTime();

0 Replies