Announcements
I am wanting to create a unique id with the current date and time. I have it set to set the variable in the StartScreen currently.
Also, how would you clean the record up to have a string of numbers only. For example, 06062024953
Hi!
To do this, it should just be something along the lines of:
If(IsBlank(Param("ID")), Set(VarRand, Text(Now(), "mmddyyyyhhmmss")))
The if function is just what you already had, and "Text(Now(), "mmddyyyyhhmmss")" formats it as you specified.
Hope this helps!
Great thanks, I had to move it to on Start for it to work.
@madlad I put varRand in a textbox text control to test it and it is not coming through.
Looks like it's Blank currently - try running OnStart from the 'App' Selection in the Screen view and see if that sets it
Let me know how it goes!
Ok it populated. I moved to the create new button so it would create when I created a new item.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 993
Valantis 675
11manish 545