>I think what Ed was pointing out is that most people use a form as the outer level control, get the report criteria values the user wants and then in the click of a "Do Report" button:
>
>public gHeader
>gHeader = thisform.txtHeader.Value
>report form MyReport
>
>Ed also was advocating using custom properties of an external goApp object to hold these values instead of creating individual public memvars. Personally I just use public memvars for this because my framework only allows one report to be executing at a time.
>
Yes I meant something like this, moreover, the example doesn't require PUBLIC, it can be LOCAL variable.
Also, I used oApp just for simplicity sake. Normally, it can be some outer form custom property.
Edward Pikman
Independent Consultant