Easy Peasy Software Logo

Using An Advanced Search To Find Work Session Records

A regular keyword search, uses a single set of keywords, and searches every field in a record to find where those keywords exist.

You can only search one set of keywords at a time.

Regular keyword search.

For a record to be a match, all the keywords must be found in one or more fields, and be in the same order (but not the same case) as shown in the Search panel.

Matching keywords are highlighted in light purple to let you know where they were found.

Regular keyword search.

Probably 95% of the time a regular keyword search is going to help you locate what you're looking for in under 30 seconds.

But, there's going to be times when you need to fine tune a search so you can do things like tell it which fields need to be searched, how many keywords need to be matched, and exactly how they're supposed to be matched.

Advanced Search dialog box.

Only Advanced Searches can give you this kind of power, and, they're not hard to configure and use.

Advanced searches, let you choose which of a record's fields will be searched, and let you define a set of simple, or complicated, instructions for how those fields should be searched.

Advanced Search dialog box.

Advanced searches also let you search for multiple sets of keywords at a time, and unlike regular searches, they don't all have to be found, and in exactly the same order as written, unless you say they do.

Multiple keywords can be searched.

In this image, an advanced search on the Start Time field (of Work Session records) is being configured.

The search will, examine each record's Start Time field to see if that record contains a Monday, Wednesday, or Friday value in its Start Time field.

Regular keyword search.

When this search is run, any record that has either a Monday, Wednesday, or Friday value in its Start Time field will be a match.

Matching records for the above advanced search.

But so will records that have no values in that field at all and that's because this search has been configured so that it's optional for any of those 3 keywords to exist, or not, in that field.

But no value, that's not one of those 3 keywords will be allowed to be a match.

A matching record that has nothing in its Start Time will be a match in this type of search too.

Regular And Advanced Searches Only Search Whatever Records Are Being Displayed In The Window

Regular and Advanced searches always perform their search on the set of records currently displaying in the window.

In this image, the search for 'Advanced Searching' will be performed on the 3,440 records currently being displayed in the window.

Searches are always done on the set of records currently being displayed in a window.

After that search is run, only 8 records out of the 3,440 searched are a match.

8 records are a match for the above search.

It's important to remember, that searches are always done on the currently displaying set of records.

If you forget that and run a search that you think is searching all the records the window could display, then you're probably going to get incorrect results.

For example, the window In this image, normally displays 3,444 records, but because a search was just done, it's only displaying 8 records.

Any new search is going to be done on just those 8 records.

8 records are a match for the above search.

If your not sure if the window is displaying all the records it could be, then just click on the Reset hyperlink in the Search Panel, and the window will display the entire set of records it's allowed to display.

Then do your search.

Reset hyperlink.

An Example Search, That Involves 3 Record Fields

Let's say that we wanted to search for all the Work Session Records, started on a Monday, Wednesday, or Friday, that lasted longer than 6 hours, and are linked to at least 1 Note record.

Here's how you'd configure an Advanced Search to do that.

Assuming that the window is displaying all the records you want searched, you'd start the search by clicking on the Advanced Search hyperlink in the Search Panel.

Regular keyword search.

That would display an Advanced Search Settings dialog box, like the one shown below.

Then you'd use that dialog box to configure how you wanted a set of fields to be searched.

Advanced Search Settings Dialog Box.

Here's How You'd Configure Each Field's Search Settings

You'd click the name of a field in Panel 1 to select it.

Select the field to be searched.

Then you'd go to Panel 2 and enter each keyword phrase (group of keywords) you wanted to find in that field.

If you're searching multiple phrases, press the Enter key to put each of them on their own line.

Create the keyword phrases to be searched.

Now you'd go to Panel 3 and use its components to describe how you wanted those keywords compared to each record's field values.

Select how the keywords are to be compared to field values.

Finally, you'd go to Panel 4 and click on the appropriate "Match Method" radio buttons to tell the search how many of the keywords it must find in a searched field.

Then, if you're searching more than one field, you'd repeat steps 1 to 4, for each new field you wanted configured.

Select how many of the keyword phrases need to be found.

The next 3 images show you how a single Advanced Search Settings dialog box is used to configure each field that needs to be searched, to perform the search described above.

Start Time Field:

Search configuration for the Start Time field.

Hours Field:

Search configuration for the Hours field.

Total Notes Field:

Search configuration for the Total Notes field.

How To Run The Search

After you've configured all the field's you're going to search, then click the dialog box's Search hyperlink.

This image shows that the search is being done on 3,432 Work Session records.

All the Search Settings for the Advanced Search have been defined.

The dialog box closes, and a split second later, all your matching records are displayed in the Work Sessions Index Window.

To open any of these records in the Work Session Window (an editing window), so you could read and/or edit them, all you'd have to do is double click anywhere on its record entry in the list.

The matching records are displayed.

This image shows the first record's Work Session is being displayed in the Work Session Window, after I double clicked on that record.

The Note belonging to a double clicked record entry is displayed in the Notes Window.

Reviewing And Modifying The Search Settings For A Field, Before You Do The Search

Every time you select a new field name in Panel 1, the Advanced Search Settings dialog box, stores the name of the field you're configuring, and all the search settings in panels 2 to 4, into a 'configuration settings' collection.

Then it adds the named collection to the Review Search Settings combo box (image below).

If you click the down arrow on that combo box, you can select a field name, and the dialog box will redisplay all of that field's settings so you can review and/or change them, before you click the Search hyperlink.

Note:
Once the Search hyperlink is clicked, those settings are gone forever.

Review Search Settings combo box.