Paul,
Why not use the SUMMARY clause in the REPORT FORM..... command instead of the Print When?
Barbara
>I am using Visual MaxFrame Professional and have a class based on frmxxreport. In the preparedata method I call a form to get the selection criteria to use in the SQL statement to build the cursor for the report. Another question on the form is whether to print Detail or Totals only. If they select totals only I am going to use the print when clause for the fields on the detail band. My question is how do I get the fact that the customer selected Totals only to the report. The frmxxreport has a private data session. Is anybody trying to do this?
>
>Thanks,
>Paul