This statement specifies captions for the subsequent query.
Specify the following:
This specifies the caption for the grid displayed by the subsequent query. This caption is displayed at the top of the grid.
This caption may include parameters.
When the data is displayed in a separate window, this gives the caption of the window as shown in the window-list bar.
When the data is displayed on the SQL window, this gives the caption of the tab of the grid in the bottom part of the window.
--aqt caption,gridcaption="Orders for customer $custcode"
select * from order_details where cust_code = '$custcode'