>>I am using VFP 5.0, I am calling it from within a method that creates the cursor "result" then selects it and then calls a report that has an empty data environment but the fields refer to "result.xxx". So I can't just preview the report because it will give me the error "Alias 'RESULT' not found".
>>
>That shouldn't matter, I never use DEs in reports, and preview always works (barring other problems)...if the preview can't find the cursor, then maybe the report is confused also?
BTW, I mean Preview in code in your app, not from menu/toolbar.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.