
Help: Want to Print SelectionFormula on the Report at run time
Quote:
>Hi all,
>I have generated a bunch of reports for my clients and creted a form
>in VB for them to input SelectionFormula and SortField at run-time.
>The rports came out the way I want them to be. I also want to print
>the Selection and Sort information on the top of the report but not
>able to figure a way.
place them on your report where you want this information to print out.
Then, set the Formulas property in the VBX/OCX to redefine these
formulas. Then they will print out the info you want.
i.e.
Report1.Formulas(0) = "SelectionFormula = " & Report1.SelectionFormula
you can do the same for the SortFields...
Jeremy Markman