September 17, 201510 yr Newbies Hi, I’m trying to do an Insert from URL - to a field called URL Data Field - in a script using FMP 12 Advanced on a 2010 MacBook Pro:Insert from URL [Select;Test DB:URL Data Field ];”http://www.google.com/“]I am connected to the internet using WiFi and if I use Firefox, I can connect to Google almost instantly.When I run this script, I get a “Connection Failed” message. When I set error capture just before the Insert URL, FMP returns a LastError: 1631. When I research this error, I do not get very far. It looks like a problem with the target field: the field I am trying to insert INTO. The data base is 100% local: no server or remote fields or code, no fields in another database. The only thing I can imagine as a problem could be related to the fact that I am using a partitioned hard drive. I see there is an option in "Insert from URL" script step: "Go to Target Field" which may deal with this issue, but at least in my version (FMP12), this option does not exist. Is there a work-around? Thanks for any help Harvey Stahl
September 17, 201510 yr Hi, I see there is an option in "Insert from URL" script step: "Go to Target Field" which may deal with this issue, but at least in my version (FMP12), this option does not exist. That option does exist in FM12, toggle it on and pick a field that is on the layout of the context where you run the script from (otherwise you'll get error 102). Just tested it here with "www.google.com" and got the response I expected.
Create an account or sign in to comment