DPaquin Posted July 14, 2014 Posted July 14, 2014 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
comment Posted July 14, 2014 Posted July 14, 2014 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.
DPaquin Posted July 14, 2014 Author Posted July 14, 2014 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
comment Posted July 14, 2014 Posted July 14, 2014 It sounds like the field BurnDVD_the_list is not on the current layout?
DPaquin Posted July 14, 2014 Author Posted July 14, 2014 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
Recommended Posts
This topic is 4057 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