Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Variables in reports
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00981329
Message ID:
00981611
Vues:
31
Hi Alexander,

-or Cx00000005

Create object before calling REPORT.

MartinJ

>Hello,
>
>are there any known issues about using the object references as report variables? I can't figure out what happens: I define a report variable oV1 as NewObject(cClass1, cLib) and reference it in report - it functions very good.
>
>As soon as I try to define another variable oV2 as NewObject(cClass2, cLib), I get
>
>- either the message "oV1 is not an object"
>- or "oV1 not found"
>- or " is not found on calling the method.
>
>either before the output of the report or after the first record has been printed.
>
>It is always the first object that causes the problem: if oV2 is the first in the list, it is the one that will be "not an Object" or "not found" etc. I have already experimented with all possible dummy-objects - it is always the same: the second object kills the first one.
>
>I thought, it had something to do with the datasessions - nothing of the kind, it doesn't matter, if the report runs in a default or in a private datasession.
>
>But as this particular report has to run in a private datasession, I wouldn't like to set private variables outside of it because the objects then do not see the tables inside the report's datasession.
>
>Thankful for any help
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform