cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Canadiansal
Helper V
Helper V

Random Number

I have a list that has a Numer Field. I will like this to be populated with a random number every time a record is created. The user will fill in all the fields in the form, but this Filed will be locked with the random number populated.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
CNT
Super User
Super User

@Canadiansal Rand() will give you a Random Number. If you want to Round it of,

e.g. to 3 digits, Round(Rand()*1000,0)

to 7 digits Round(Rand()*10000000,0)

View solution in original post

1 REPLY 1
CNT
Super User
Super User

@Canadiansal Rand() will give you a Random Number. If you want to Round it of,

e.g. to 3 digits, Round(Rand()*1000,0)

to 7 digits Round(Rand()*10000000,0)

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,781)