Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATEOBJECT()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00446860
Message ID:
00446874
Vues:
11
>I have a class that is called RFI_REPORT.
>What I am trying to do is to create an instance of that class.
>
>I did something like this
>
>oREPORT = CREATEOBJECT('RFI_REPORT')
>
>Yet I get a message that says:
>"Class definition RFI_REPORT not found"
>So my question is: Do I need to put something before that line of code?
>Something like a define statement? And if I do, What would It be?

You can use NEWOBJECT() to create the object w/o first setting the classlib to , e.g.
oReport = NEWOBJECT('RFI_REPORT', 'rfi_report_lib')
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform