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

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

Recommended Posts

Posted

I've made a script that combines two different scripts that both only

perform a find. In the develop environment this works great. But after compiling the DB I find that only the first find script is executed and the second one is omitted. I use FM 6P and the developer of FM 5.5 Does anyone have a clue?

Thanks,

John

Posted

That's kinda like "my car wont start, do you know why that is?"

You'll have to tell us what the steps are in your find. One thing I think that 5.5 doesn't have the Perform Find/Replace step so it might be ignored if a 6 file is bound with 5.5. So check for stuff like that.

Ken

Posted

The script I'm talking about is this simple script:

Go to Layout [ #05 - Rap_upd_gebruikt ]

[ Refresh window ]

Show All Records

Enter Find Mode

Set Field [ LOK_InGebruik, "ja" ]

Perform Find

[ Replace Found Set ]

Enter Find Mode

Set Field [ Gewijzigd, "ja" ]

Perform Find

[ Constrain Found Set ]

It does a search on two fields and works fine in development environment but only the results of the second search are shown when run as executable.

Posted

Doesn't REPLACE FOUND SET do exactly that? Replace what was just found? If so, then of course you would only see the 2nd results.

Posted

As [ Replace Found Set ] is the parameter of the first find,

so is [ Constrain Found Set ] the parameter of the second. How hard can that be. Still gives me no clue why this gives only the results of the second in a compiled db.

Posted

How bout just:

Enter Find Mode []

Set Field [LOK_InGebruik, "ja"]

Set Field [ Gewijzigd, "ja" ]

Perform Find

That is essentially what you would get down to anyways, right?

KEn

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