17.4.1 Querying a Job

To QUERY a job, the Enter or Change Jobs screen must be displayed. Get into the QUERY mode by pressing the QUERY <F2> button. Next, the search pattern desired is entered. To QUERY Job Id 8900, enter 8900 into the Job Id field.

fjpman00000006.gif

Now, press the FIND <F3> button, and if the job exists, it is displayed.

fjpman00000006.gif

To FIND all jobs for customer Smith, press the QUERY <F2> button, TAB to the Customer field and enter Smith. Pressing the FIND FIRST <F3> button displays the first job. Each time the FIND NEXT <F3> button is pressed, the next job in the file for customer Smith is displayed until there is no more entries.

The QUERY and FIND functions search for records in the file by starting at the beginning of the file and proceeding to the end of the file. When the QUERY button <F2> is pressed the first record in the file that matches the search pattern is being queried. When the FIND NEXT button <F3> is pressed the next record in the file that matches the search pattern is displayed.

The QUERY function can be made to start its search with the last matching record by pressing the GOLD key <F1> before pressing the QUERY key <F2>, or by pressing the FIND LAST button. This means that the last record in the file that matches the search pattern is queried.

The direction of the FIND function's search can also be reversed if the GOLD key <F1> is pressed just before pressing the FIND key <F3>, or by pressing the FIND PREVIOUS button. As was explained above, each time the FIND NEXT button <F3> is pressed, the next record in the file that matches the search pattern is displayed. By pressing the GOLD key <F1> before pressing the FIND key <F3> the direction of the search is reversed, or by pressing the FIND PREVIOUS button, the previous matching record is displayed. The GOLD <F1> FIND <F3> keys and the FIND <F3> button can be used to move back and forth in the file.