AnsweredAssumed Answered

Search values if the find mode is on on layout enter.

Question asked by mark-it on Aug 22, 2018
Latest reply on Aug 23, 2018 by mark-it

Dear all

 

I'm looking for a solution so filter values if the find mode is on. I already check the forum, found a couple of similar problems with solutions, but I looking for something just a little bit else. 

 

If I go to layout, then use g_field with ST OnObjectModify (to find values in List view) :

 

Enter Finde mode, Pause off

Set Field [Data Field nr1; my global Field]

New Record Request

Set Field [Data Field nr2; my global Field]

New Record Request

Perform Find

 

That works fine, I can type any values from Data filed nr 1 or 2,

but now I would like to set "found set" on layout enter, so on Layout enter script I have:

 

Enter Find Mode

Perform find [here I added details of Find]

 

After getting those results I want to search only in those found values  - don't want to see other records.

If I'm doing that using script above during typing all records are shown. So I did change the script:

 

Enter Finde mode, Pause off [here I added details of Find] -

Set Field [Data Field nr 1; my global Field]

New Record Request

Set Field [Data Field  nr2; my global Field]

New Record Request

Perform Find

 

Now is working but, I see only the values which I defined first, I can search across them, but only if I delete

Set Field [Data Field nr2; my global Field]

New Record Request

 

I can filter found set, no other records are showing, but only using one field. Before I could type values from Data filed nr1 or 2, but now it does not work.

 

I understand I can be a very easy solution for you, but I can't fix it.

Fell free to comment.

 

Thanks in advance. 

Outcomes