Performing an advanced query

This section describes how to make use of advanced query features to locate users when a simple name search does not provide the correct results.

To create an advanced query

  1. From the User Maintenance screen, click the Advanced tab.

    Form clip: Advanced query dialog box
  2. From the first drop-down box on the query screen, select the first attribute (field) that you want to include in your query. All attributes associated with the object type you selected should be available.

  3. Select an operand from the drop-down box. Options are:

    • is

    • is not

    • less than

    • greater than

    • starts with

    • sounds like (locates all entries that have some words in common)

  4. Type the data you're looking for in the Criteria box. Use the wildcard character (*, asterisk) to locate all entries.

  5. Click Add Criteria.

    The criteria will appear in the query box.

  6. If you want to add other criteria, select And or Or from the conjunction field and then create another statement in the way you did in steps 2 through 5.

  7. When you are finished making criteria selections and are ready to locate the users, click Find Now.

    The user (or a list or users) appears in the bottom pane of the screen.

    If your results list is long, you can click Hide Query to close the query dialog box and fill the entire screen with the results list.

    If your query did not return the correct user or if it returned so many users that the list is not useful, re-run the query using different or additional attributes.

    If you are creating a list of users (rather than just locating a specific user), you can make use of options for formatting the query.

  8. If you want to make changes to a user in the list, right-click the user to make changes to the entry.

    A menu with the following options appears:

    • Edit RM Information: This option is for updating the user entry.

    • Manage Identities: This option lets you change identity information (including password) for the user.

    • Edit Lawson Environment Information (does not apply to users set up through Lawson Security)

    • Delete User: Delete the user and all its identities.

To format how the query results will appear on your screen (and execute the query)

  1. From the list of options you have selected for your query, click Display from the toolbar.

    A dialog box for formatting the query results appear.

    Form clip: Query display options
  2. By default, First Name and Last Name are selected as display fields. If you want other fields to display as columns in your results list, select them.

    Bear in mind when you are selecting fields that they will display horizontally across your screen and scrolling horizontally to view your data might not be convenient. It is a good idea to limit the number of display fields to a number that will not require scrolling.

  3. By default, results are sorted by Last Name. If you want to use different or additional sort fields, select the field in Column Selection and then click the right-pointing arrow to add it to Sort Selection. (Use the left-pointing arrow to remove a field from Sort Selection.) You can also change the sort from the default of Ascending to Descending.

  4. When you are satisfied with the formatting selections, click OK to execute the query.

  5. You can choose to save changes you have made as defaults for queries you make in the future (click Save As Default) or restore the Lawson-delivered defaults (click Restore Defaults).