Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have searched for help on this with no results. Using WINDOWS and FMP 6.0v4.

Here is the situation: I have a database with 419 records, and four fields: "Names", "number of push-ups", "Grade" and "Ranking".

After I do a find for the students I am looking to number. I would like to write a script that would go to the

Posted

If your file is single-user, then

Go to Record/Request/Page [First]

Replace [No dialog, Ranking, Serial numbers]

should work, where you select 'Custom values' under 'Replace with serial numbers' and use the default 1, 1.

If it's multi-user,

Go to Record/Request/Page [First]

Set Field [gNum, 1]

Loop

Set Field [Ranking, gNum]

If [status(CurrentError)]

{perform action if record is in use by another user}

End If

Set Field [gNum, gNum + 1]

Go to Record/Request/Page [Exit after last, Next]

End Loop

where gNum is a global number field and the action can be appending the current serial to a global field, a warning message to the user that the process can't be completed, or something similar.

This topic is 7435 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.