The example1.cp sample program demonstrates how to use regular, non-scrollable cursors in an interactive query program. The sample programs for scrollable cursors are example4.pc.and example5.pc. The programs:
Display a list of book types, from which the user selects one
Display all titles in the selected book type and prompts for a title ID
Display detailed information about the selected title and continues prompting for title IDs
Exit when Return is pressed at a prompt