>>>>In vfp6...I would like for the DE in my report writer to be a cursor I previously created with a SELECT statement before I run the report. My report writer only wants to us DBF files and not temp cursor? any ideas?
>>>
>>>What is the report writer?
>>>If it's VFP, don't have anything in the DE. Use the Default Datasession in the report and just create the cursor before calling the REPORT FORM...
>>>The data will be there like you need it.
>>Good Morning Trey:
>>I do not have anything in the DE, but how do I use the Default Datasession?
>
>The report uses the default datasession by default. In the Report menu (in the main VFP menus ) there is an option to choose Private Datasession. If there's a check by it, select it again to uncheck it.
>
>> ..and.. what names do I give my fields in the report in the report Expression area?
>
>Same as you would for a table in the DE.
>e.g.
>
>CREATE CURSOR cuTmp (ctest c(10))
>REPORT FORM mytestrepo PREVIEW
>in the report, the name - actually the expression - would be
ctest
or
cutmp.ctest
Hi Trey and thanks for the help....:)