Lesson 6: Selecting Specific Records
In the previous lessons, the FOR EACH and DISPLAY statements were used to display all records within a file. This lesson covers the selection of specific records for use in the procedure.
Upon completion of this lesson, you will be familiar with the following topics:
|
•
|
Selecting specific records using the record phrase in the FOR EACH statement
|
|
•
|
The BEGIN and MATCHES Progress functions
|
|
•
|
Conditional expressions using Progress operators
|
|
•
|
Index specification and record selection
|
|
•
|
Conditional processing using IF ... THEN ... ELSE and the CASE statement
|
|
•
|
Requesting user input with the PROMPT-FOR statement
|