Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable 'x' is not found
Message
From
19/03/2002 16:51:40
Jorge Haro
Independent Consultant
Juarez, Mexico
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00632243
Message ID:
00634681
Views:
16
Well, now it actually happened to me in a real scenario, I thought I had understood the part about creating a separate data session, but it didn't quite work the way I expected, as soon as the following line exewcuted:

set datasession to loSession.DataSessionID

the grid lost it's recordsource, (documentation does warn about using "set datasession to" when a form is active ) The preview worked correctly, the grid's recordsource still existed, but the records just wouldn't show on the grid.

Anyway, I looked at another one of my forms, that had a grid and had no problems with the preview, and the only difference was that the grid was inside a pageframe, so I put my grid inside a pageframe and the problem went away, which I find a bit odd.



>The report is based on another table (or cursor), not the RecordSource for the >grid table. This is the condition, the error will show its ugly face. If you >can not replicate it, I would say: "Lucky you!" :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform