October 13, 200421 yr 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
October 13, 200421 yr 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.
October 13, 200421 yr Author 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.
Create an account or sign in to comment