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

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

Recommended Posts

Posted

Hello

I've got another script that I'm having a little trouble with. Thanks to Liveoak I got through the other one a while ago.

Basically I'm within the one file that I want to do the find on.

So:-

1/ I've got field A (date) and field B (person's name). Put either, both or nothing in then push a button.

2/ Based on that it returns all matching fields otherwise if both left blank it returns all records.

Thank you in advance shocked.gif

Drew

Posted

All find criteria in one find requests acts like AND (i.e. finds records for which that name and date both appear in the record).

One find criteria in one find request and the other find criteria in a second find request acts like OR (i.e. finds records for which either that name or that date appear).

If IsEmpty(gFindCriteria1) and IsEmpty(gFindCriteria2)

Show All Records

Go To Layout (FindResults)

Else

Enter Find Mode

Set Field (Date) = gFindCriteria1

New Request

Set Field (Name) = gFindCriteria2

Perform Find

Go To Layout (FindResults)

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