Querying notebook databases

After creating a criteria table, setting up search formulas, queries, or wildcards, and creating search output cells, you can query notebook databases. For information about query preparation, see “Preparing queries for searching notebook databases.”

Using the query function, you can highlight specific records in a notebook database. You can also copy records from the notebook database to output cells on your spreadsheet. In addition, you can use search criteria to delete records from the notebook database.


To highlight specific records in a notebook database

Wordperfect Quattro Pro btnbacktotopproc Querying notebook databases
1.
 
Click Tools Wordperfect Quattro Pro onestep Querying notebook databases Data tools Wordperfect Quattro Pro onestep Querying notebook databases Notebook query.
2.
 
Select the database cells using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
3.
 
Select the criteria table using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
4.
 
Click Locate.

Wordperfect Quattro Pro note Querying notebook databases

 
Pressing Esc returns you to the Notebook data query dialog box.

Wordperfect Quattro Pro tip Querying notebook databases

 
To select database cells in another open notebook, use standard linking syntax. For example, typing [DATA]A1..Z50 specifies cells A1..Z50 in the notebook called DATA.

To copy notebook database records to output cells

Wordperfect Quattro Pro btnbacktotopproc Querying notebook databases
1.
 
Click Tools Wordperfect Quattro Pro onestep Querying notebook databases Data tools Wordperfect Quattro Pro onestep Querying notebook databases Notebook query.
2.
 
Select the database cells using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
3.
 
Select the criteria table using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
4.
 
Select the row of the output cells which contains the field names using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
5.
 
Click one of the following buttons:
Extract — copies all records matching the specified criteria to the output cells
Extract unique — copies only unique records matching the specified criteria to the output cells; duplicate entries are ignored

Wordperfect Quattro Pro note Querying notebook databases

 
To select database cells in another open notebook, use standard linking syntax. For example, typing [DATA]A1..Z50 specifies cells A1..Z50 in the notebook called DATA.
 
Only fields whose names are written on the first row of the output cells are copied. All data in the cells beneath the output cells is erased before it is extracted; do not store notebook data in that area of the spreadsheet. You can avoid losing data by specifying an output area larger than one row; this also limits the number of records the output cells accept.

To delete specific records from a notebook database

Wordperfect Quattro Pro btnbacktotopproc Querying notebook databases
1.
 
Click Tools Wordperfect Quattro Pro onestep Querying notebook databases Data tools Wordperfect Quattro Pro onestep Querying notebook databases Notebook query.
2.
 
Select the database cells using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
3.
 
Select the criteria table using the Range picker Wordperfect Quattro Pro pgx btnsel Querying notebook databases.
4.
 
Click Delete.

Wordperfect Quattro Pro note Querying notebook databases

 
Records below the deleted records move up to fill in the empty rows. Use caution when doing this unless you are certain you want to remove the records.
 
To select database cells in another open notebook, use standard linking syntax. For example, typing [DATA]A1..Z50 specifies cells A1..Z50 in the notebook called DATA.

Wordperfect Quattro Pro tip Querying notebook databases

 
Records that have been accidentally deleted can be restored using the Undo command.
 
You can use the delete function in conjunction with the highlight function, allowing you to see the records that match your search before they are deleted.

Querying notebook databases