Jump to content

This topic is 8404 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.