>thanks for this great advice.
>what about bill format report, every customer have there own format.
>warm regards,
>mk.
You could make several copies of the report, each with a different name. Such as "BILL_ABC", "BILL_DEF", "BILL_XYZ", where the end of the name represents the customer. When you run the report, figure out which customer it is and run the report as follows:
lcName = "BILL_" + SomeCompanyCode
REPORT FORM (m.lcName) TO PRINTER PROMPT PREVIEW