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

Searching multiple fields through a single field


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

Recommended Posts

Posted

I am building a solution that has 4 databases. The names of the files are Invoicing, Products, customers, and line Item. I have relationship between them. For example I have a relationship from invoicing to customers that supplies all the information about the user before creating an invoice. In the invoice database I have 5 fields that the user can use to search for a particular invoice. Three of those fields come from the customer

Posted

Make your sixth field a global field. When the user enters something, they would have to click a "go" button next to the field that activates a script. From here you could do one of two things. Your script could create five find requests, like:

Enter Find Mode (do *not* check restore)

Set Field (Field1, SixthField)

New Request

Set Field (Field2, SixthField)

New Request

Set Field (Field3, SixthField)

New Request

Set Field (Field4, SixthField)

New Request

Set Field (Field5, SixthField)

Perform Find (do *not* check restore)

Set Field (SixthField, "")

Go to Layout (Display)

It is important that the Enter Find and Perform Find script steps have the "restore" option unchecked. Also, note that I clear the global enter field for the next entry.

Alternatively, you could make a concatenation calculation field (Field1 & " " & Field2 & " " & Field3 & " " & Field4 & " " & Field5), stick it out of sight on a working layout and simplify your script to:

Enter Find Mode (do *not* check restore)

Set Field (ConcatField, SixthField)

Perform Find (do *not* check restore)

Set Field (SixthField, "")

Go to Layout (Display)

Steve Brown

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