>>I just posted the same message on foxforum...if anyone has any ideas they would be greatly appreciated.
>>
>>I am running a report from a local view allowing the user to enter the parameters..is there a way to send the user-defined parameters to the report? (I want to add their selected date range to the page header of the report)
>>Thanks, Angelica
>
>LOCAL ldDateFrom, ldDateTo
>
>DO REPORT FORM reportname PREVIEW
>
>ALl the vars. declared in the same method are visible in a report. In report's title simply put 'From ' + DTOC(ldDateFrom) + To ' + DTOC(ldDateTo)
>Mark
As long as the report does not use a private DS. By default, reports use the default DS. This method works very well, and I use this almost exclusively from FORMS with private DS.
Mark McCasland
Midlothian, TX USA