mardi 13 mars 2007

How To: Change QuickFind default from "Contains" to "Starts With"

Resolution
There are two different settings that can be changed. Note that these settings are independent of each other:

1 - Setting the GlobalQuickFindSearchMethod flag in the business module to 1 changes the default search method to "Starts With". Note: the GlobalQuickFindSearchMethod applies to the global quickfind only (the lookup that's at the top of the menu bar with the magnifying glass).

2 - There is a new field in the Users table called Search_Type_Default.
When a user is created this value is NULL and QuickFind defaults to "Contains". After a user does a QuickFind search the Search_Type_Default field is populated and all subsequent searches use this setting unless the user changes search types.

For example, if a user searches using "Starts With", the value saved in Search_Type_Default would be 1. If the user searches using "Contains", the value would be 0.

Note: Search_Type_Default applies to the business object quickfind only (when you select "QuickFind" from the menu under the business object).

Note: Search_Type_Default is per user, but GlobalQuickFindSearchMethod flag affects all users - no personal preference.

Aucun commentaire: