Specifications
Adding controls to a report
244 InfoMaker
Controlling the display of buttons in print preview and in printed output
You can choose whether to display buttons in print preview or in printed
output. You control this in the Properties view for the report (not the Properties
view for the button).
❖ To control the display of buttons in a report in print preview and on
printed output:
1 Display the report’s Properties view with the Print Specification page on
top.
2 Select the Display Buttons – Print check box.
The buttons are included in the printed output when the report is printed.
3 Select the Display Buttons – Print Preview check box.
The buttons display on the screen when viewing the report in print
preview.
Actions assignable to buttons in reports
Table 7-2 shows the actions you can assign to a button in a report.
Table 7-2: Actions that can be assigned to buttons in a report
Action What it does
Cancel Cancels a retrieval that has been started with the option to yield.
Filter Displays Filter dialog box and filters as specified.
Page First Scrolls to the first page.
Page Last Scrolls to the last page.
Page Next Scrolls to the next page.
Page Prior Scrolls to the prior page.
Preview With
Rulers
Toggles between rulers on and off.
Print Prints one copy of the DataWindow object.
Retrieve Retrieves rows from the database. The option to yield is not
automatically turned on.
Retrieve (Yield) Retrieves rows from the database. Before retrieval actually
occurs, option to yield is turned on; this will allow the Cancel
action to take effect during a long retrieve.
Save Rows As Displays Save As dialog box and saves rows in the format
specified.
Sort Displays Sort dialog box and sorts as specified.