greginchrist

Worked in FMP 8.5 - Won't in FMP 11

Discussion created by greginchrist on May 25, 2012
Latest reply on Jun 5, 2012 by steve_ssh

Has anyone come across a similar issue? The following woks on FMP 8.5 but nor FMP 11

 

Any ideas?

 

on getFieldFromRecord(dbName, tableName, fieldName, matchField1, matchValue)

tell application "FileMaker Pro Advanced"

tell database dbName

--try

set fieldValue to cell fieldName of (records of table tableName whose cell matchField1 is matchValue)

--end try

end tell

end tell

return fieldValue

end getFieldFromRecord

 

set myResult to getFieldFromRecord("Master DB", "Order", "QcTime", "JobNumber", "12052501")

 

 

 

 

Thanks in advance, May the Lord Jesus Christ bless you unto salvation through faith in His work on the cross!

Outcomes