Jump to content
Server Maintenance This Week. ×

File Maker 4.1 Script Question


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

Recommended Posts

  • Newbies

Sorry for the length of post, but I'm an MS Access user and am having difficulty w/the syntax of the FMP scripting language.

I have 2 FMP databases. Let's call them Original and New. The Original database has a table of approx 175 fields, including ID, Lat and Long. Some of the Lat and Long fields are blank, but the ID is always present.

In the New database, I have the ID, Lat and Long fields. Data is present in all fields for all records.

I'm not sure what script language to use (looping find/copy/paste; relookup; etc) to toggle back and forth to open the New database, look at the first record and examine the ID value. Toggle back to the Original database, Find the record with the same ID, toggle back to the New database, copy the Lat, toggle back to the Original database, paste in the Lat value (into the previously blank field), toggle back to the New database, copy the Long, toggle back to the Original database, paste in the Long value (into the previously blank field), toggle back to the New database, delete the current record. Repeat steps until the New database has no more records in it.

Thanks for any syntax help or sample script you can provide.

Link to comment
Share on other sites

  • Newbies

It looks like you are updating only the blank fields in the Original file with the data from the New file.. If that is true, search for records in the Original file with blank values (are both values blank? If so, that is the easiest).

Enter Find mode and type the character = into the field you are trying to find. Click on the Find button. You can make a script after you do this and have it

Link to comment
Share on other sites

This topic is 8740 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.