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

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

Recommended Posts

  • Newbies
Posted

OK, this may be a newb question, but since I'm a newb smile.gif I guess I'll ask it:

Can scriptmaker adjust the options in a field definition?

I have 3 files, 2 of which have similar "head" information (ie: book title, publisher, etc.) with each book having a unique title ID.

My 3rd file currently does the lookup from file "1", based on TitleID, but because of the age of some of the records, it would be better to lookup from file "2". Ideally, I would like to create a script that changes the lookup definition for each field from "1" to "2" and grabs that information.

is this possible for FM Pro 5.5?

Posted

No. But you can have it auto-entered with file 1's data and use a script to overwrite it with file 2's data.

Posted

Rather than auto-enter a looked-up value, you might experiment with setting the fields to auto-enter a calculated value (if you upgrade to FM7, try the Lookup or LookupNext functions). Or, since you're using a script, don't bother at all with auto-entry, just set the fields with your script:

#(pseudo logic)

If record is old

. set field to info from file 1

else

. set field to info from file 2

End If

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