>I create a report name ORDER.FRM which used the table ORDER and ORDDETAIL.
>I create a form name RANGE.SCX which used to select the starting order number (StartOrder) and ending order number (EndOrder) to print.
>
>I used the form range to select the range, and a click the confirm button in the range form. The confirm button will be do the report ORDER.
>
>How can i print the ORDER record within the specified range (From the starting order number to the ending order number)?
>
>Waiting for any suggestions ?
>
>Thanks for your help.
In addition to what Steve said, you can also use the FOR clause of REPORT FORM... (eg. REFORM FORM ORDER.FRM FOR BETWEEN(ORDER.ORDER_NUM, StartOrder, EndOrder) TO PRINTER)
George
Ubi caritas et amor, deus ibi est