Mark, Unmark, and Delete Operations

Description

The Mark/Delete Operation uses the criteria you specify to selectively mark, unmark, or delete records. You can use this operation to mark, unmark, or delete all of the records in the current range, or just the duplicate records in the current range. For example, you have a table which stores club-membership information, and you want to compile a list of members who are no longer active in the organization.

images/btable.png

images/btable2.png
Member IDs 002 and 003 have been marked.

When viewing records in a form or Browse, the status bar indicates marked records by displaying a check mark. When creating filter expressions, you can select just the marked records by using the expression MARKED(), and when using the Filter Card, you can select only marked records. Each method lets you print, view, or process only marked records.

Unmarkor_Delete_Operation>Performing a Mark, Unmark, or Delete Operation

  1. Click the Operations tab on the Control Panel.

  2. Click the New button. The Create New Operation dialog box appears.

  3. Select "Mark", "Unmark", or "Delete" as the operation, and select the table you want to copy.

  4. Click the Create button to display the Mark Card or click Create Using Genie to display the Mark Genie (see Using the Mark, Unmark, and Delete Genies ). Selecting the Type of Mark Operation:

    images/Mark_Card.png
    Next select the records you want to include by selecting records, specifying a duplicate key expression, or both.
  5. Duplicate Selected Records

    If you want to select duplicate records, click the Duplicate selected records radio button, and specify a Duplicate key expression. For example, you want to select records which have duplicate Lastnames and Telephone numbers, you can use the expression Lastname+Telephone. The easiest way to enter the Duplicate key expression is by clicking 'xy' to open the Expression Builder.

  6. Selecting Records

    To select records click the following button; the Select Records dialog box appears. You can enter the Filter Expression or Order Expression directly, or click use the Expression Builder or Order Builder.

    images/Select_Records_to_Summarize_button.png
  7. Click the 'lightning' icon to run the operation.

    images/UG_Select_Records_dialog_box.png

Markand_Unmark_Genies > Using the Mark, Unmark, and Delete Genies

  1. Open a workspace and move to the Operations tab.

  2. Create a 'New' Operation and highlight 'Delete records' within the Select Operation scroll box.

  3. Click the 'Create Using Genie' button at the bottom of the Create New Operation dialog box.

  4. Click Next > to continue.

    images/UG_Delete_Genie_1.png
  5. Indicate which records to delete, mark, or unmark.

  6. If you clicked the Selected records radio button, make a selection from the list box.

  7. Enter the filtering (a logical expression ) and ordering (a character expression ) criteria required by your choice.

  8. Indicate whether you want to run the operation now, save the operation and then run it, or view the settings of the Export Builder.

  9. Click Finish.

  10. If you selected Run the Delete (Mark or Unmark) operation now, (but first save the definition for future use), the Save delete (mark or unmark) settings as... dialog box will appear.

  11. Enter the name of the operation into the Name field and click OK.

  12. If you selected Don't run the Delete (Mark or Unmark) operation now, just show me how the genie has filled in the Delete card, the Delete (Mark or Unmark) Card will appear.

  13. Optionally, click Save to display the Save delete settings as... dialog box.

  14. Enter the name of the operation into the Name field and click OK.

  15. Optionally, click the Run button on the toolbar to run the operation.

    images/UG_Delete_Genie_3.png

Limitations

Desktop Applications Only

See Also