In report designer, the report can be previewed with a right click.
But, the first time, a warning appear :
"SET REPORTBEHAVIOR is set to 80. Draft mode preview may not show dynamic behavior."
To prevent it follow these steps.
First, some preparations :
1) From the command window, execute this command :
Click on "Create copy" and give it a name. For this example, the copy is i:\reportbuilder.dbf
2) From the command window, delete from this copy, the row where hndl_class = 'PreviewFromDesignerHandler'
DELETE FROM (i:\reportbuilder.dbf) WHERE hndl_class = 'PreviewFromDesignerHandler'
(delete the event)
Now all is prepared. Just add this command before MODI REPORT
DO (_REPORTBUILDER) WITH 3, "the_copy_name"
For this example :
DO (_REPORTBUILDER) WITH 3, "i:\reportbuilder.dbf"
MODI REPORT myreport