Answered
I'm trying to create a script or field that will enable me to form a unique number for a distributed form by the use of a button. The user fill in the form and then pres the button and the the consequtive number for this type of report is generated.
Is this possible. I have an idea about storing the number created in a text file, and next time then retreive it add one and save it again, but it makes my hair go grey.
Does anyone have a suggestion how to solve this.
It generates a 10 digit number and if the form is saved and reopened it won't regenerate the number. I have it on the Initialize event for the field.
Other than that I think you need access to a server to store numbers for you.