Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicated records
Message
 
 
To
09/07/2001 09:54:20
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00528050
Message ID:
00528139
Views:
22
>>Hi Grigore:
>>
>>My situation was simpler than what you described because my reports are all based on single tables only. Also, the other reports are set up identically and they have no problems at all.
>>
>>Having said that, I tried selecting the table first as you suggested and it made the problem report work. I don't understand what's happening but I'm glad it's fixed.
>>
>>Thanks for your help.
>>
>>Andrew
>
>Andrew,
>
>Just for the record... this sometimes happens if the report is called from a form with a grid on it, the grid can re-select it's recordsource before the report gets going so the report ends up working from the wrong table. One of the solutions is as Grigore suggested above.

We had the exact problem with Grid and Report. The wrong alias was selected. Finally I changed the application to work in separate DS (using Session class) and I didn't have this problem since then. Another solution would be select necessary table in Report DE Init method, but that's not a good one...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform