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

need help on new fmp 6.0 perform find script step


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

Recommended Posts

Posted

hi, all ! can somebody show me how new fmp 6.0 perform find script step works ?

there is [ replace found set ] , [ constrain found set ] , [ extends F.S. ].

what does each option do ?

how should i use this in a real script ? --- specially compare to the old perform find.

thanks,

kyle

Posted

Hello Kyle,

The way finds are conducted in FMPv6.x gives three 'modes' of operation which come into play when (before performing the find) you are already viewing a sub-set ('found set') of records.

Firstly, the option which is described by the phrase 'Replace found set' is the same as what previous versions of Filemaker always did. That is, it discards the current found set and produces a whole new found set based on the find criteria you have just entered.

The other two options are new. 'Constrain found set' performs a find, which is in all respects like the finds you're used to doing, except it applies that find only to the current found set, not to the whole file. So the effect is like adding some criteria to the previous find.

The third option, 'Extend found set' performs the new find without discarding the previous one. So all the records which are found are added to the found set that already existed.

Hope that gives you a bit more to get a handle on?! smile.gif

Posted

A-Men. i don't know why filemaker didn't consult with you when they write the filemaker help.

i will strongly recomand filemaker to hire you as an advisor. yours make a perfect sense and fmi's don't.

thanks again,

kyle

Posted

hi, here is another one on this issue. can you give me real examples how these script step options can be used togather ?

for example, if i want to find within the found set , i guess i will do below.

tongue.giftongue.gif

enter find mode[ ]

set field [ fieldx, fieldb ]

perform find [ replace found set ]

enter find mode [ ]

set field [ fieldg, whatever ]

perform find [ constrain found set ]

or

perform find [ restore , replace found set ]

perform find [ restore , constrain found set ]

i know above script steps are working. but is there any other elegant way of doing same thing above ? or is this it ?

thanks,

kyle tongue.gif

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