jagoldst Posted January 30, 2002 Posted January 30, 2002 I need to create (lets say 100)new records in a multiuser database and need them numbered from 1-100. I use to use define fields but that won't work now that I am on Server5. Is there a calculation I can use in conjuction with a script and a couple of new fields?: Thanks in advance. Jeff
Vaughan Posted January 30, 2002 Posted January 30, 2002 You need a global counter field (gcount) and a script: code: Set Field [gcount, "1"] Loop New Record/Request Set Field [serialno, "gcount"] Set Field [gcount, "gcount+1"] Exit Loop If [gcount>100] End loop
Recommended Posts
This topic is 8404 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now