Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrong cursor selected
Message
From
21/07/2003 14:46:39
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, United States
 
 
To
21/07/2003 14:16:08
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00812082
Message ID:
00812105
Views:
16
>>My DE is empty.
>>
>>Your suggestion of setting a breakpoint on USED("TempSort") would always return .t. since it is supposed to be open. I tried setting a breakpoint on Alias() just before the report was called, but it did not change until after the report preview was closed. It still used the wrong cursor. Below in the code that immediately preceeds calling the report:
>>
>>select curReport
>>index tag curReport on RType+ltrim(Str(lot))
>>go top
>>report form receiving to printer prompt preview noconsole
>
>How do you refer to your table fields in your report? As MyTable.MyField or as MyField only? Can you open the Data Session window while you are previewing the report (just to make sure, be on one of the middle lpages) and see what's in the current work area?

I use MyTable.MyField and have just looked at each field in the FRX to verify that.

Also, in debugging, I placed a textbox on the report that reports 'alias()'. The first time through it incorrectly displays 'tempSort', any subsequent report corectly displays 'curReport'.
Dennis Schuette
Previous
Reply
Map
View

Click here to load this message in the networking platform