July 14, 201411 yr I have a cell named "BurnDVD_the_list" in a table named "@Preferences" SCRIPT Set Variable [$$the_list]; Value:"01020804"] Go to Layout ["@Preferences" (Preferences)] Replace Field Contents [No dialog; Preferences::BurnDVD_the_list"; $$the_list] Perform AppleScript ["display dialog"bSET" "set FMPrec to cell "BurnDVD_the_list" of current record "display dialog"bSET"....] RESULT the variable $$the_list is set to "01020804" the field BurnDVD_the_list is set to "01020804" a dialog box appear showing "bSET" en error cannot find the object is displayed, I click OK an unknown error : -1728 is displayed the dialog box "aSET" is never displayed The error is then at the command line "set FMPrec to cell "BurnDVD_the_list" of current record Could someone tell me what am I getting this error? Why I cannot get the value of a cell within a "Perform AppleScript" ? Many thanks! Daniel
July 14, 201411 yr Please post an exact copy of your script (do a print preview and copy it from there). Seeing the exact error message/s you get would also help.
July 14, 201411 yr Author Thanks Comment Here it is: The FileMaker Pro error message I am getting is "Object not found" I click OK and I get "Unknown Error: -1728. BurnDVD.pdf
July 14, 201411 yr Author Thanks Comment, problem solved. I had two layouts with almost the same name (do not know why). I change the layout name and everything is now working. With regards! Daniel
Create an account or sign in to comment