Veronica Posted October 13, 2004 Posted October 13, 2004 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
Fitch Posted October 13, 2004 Posted October 13, 2004 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.
Veronica Posted October 13, 2004 Author Posted October 13, 2004 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.
transpower Posted October 14, 2004 Posted October 14, 2004 Please post the whole script, then perhaps we could help you.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now