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

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

Recommended Posts

Posted

Just upgraded to FMP 7 from 5.5. One of my scripts has a Loop/Exit Loop If...

The Exit Lopp If statement looks like this: Exit Loop If [${filename04-05}::PIN = 0]

When I enter "0", (zero) into the PIN field it is supposed to exit the loop but it doesn't. Does the hyphen in the Tablename cause this problem and if it does is there a way to change the Tablename?

Thanks confused.gif

Posted

You can change a table name, but tables are only referenced through a Table Occurrence. Both can be changed in the Define Database dialog. Double-click any TO in the TOG to change its name.

Remember that context is critical in FM7 -- (relation::field) will evaluate differently depending on the layout/TO it's being evaluated from.

Posted

I successfully changed the table name and it changed everywhere it occurred in the script but that still didn't solve my problem. It won't exit the loop when "0" (zero) is entered in the PIN field.

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