Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3354 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

 

Posted

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.

 

This topic is 3354 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.