General information
Category:
Reports & Report designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only