Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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!" :)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement