I have a form and i have some fields that should be automatically populated (for example, the data and time the record was created and a unique id).. Is there any way to do this behind the sceens - so the user does not have to input it in?
You will have to create code for the OnCurrent event or BeforeInsert event. You can test to see if the UniqueID has a value. If "no", then use code to create / find the UniqueID.
Another approach, if you use a "smart" UniqueID, is to build the the entry after you have enough information. For example, after the customer has been selected, and the date and time is set, you can use the value of these three fields to create the UniqueID.
CustomerCode + yyyymmdd + hhmmss
How to create the UniqueID will be up to you since the post is shy on details.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.