Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uknown object error
Message
 
À
26/08/2003 22:21:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00823663
Message ID:
00823737
Vues:
22
Is it possible that whatever the dtr object is - is defined in the Prev class library?

As an aside, I would change my methodology and not SET CLASSLIB TO and RELEASE CLASSLIB in your code like that. Just set your class libraries in your main program and be done with it.

You might want to check to see if "PREV" $ UPPER(SET("CLASSLIB)), but I would not go through the overhead of loading and unloading the library.



>i have this in my printform:

>
>Dtr.Hide()
>SET CLASSLIB TO Prev ADDITIVE
>oPreviewFrm=CREATEOBJECT("PrintPreview")
>RELEASE CLASSLIB Prev
>REPORT FORM &cReport ENVIRONMENT NOCONSOLE PREVIEW IN WINDOW PrintPreview
>oPreviewFrm=.NULL.
>Dtr.Show()
>
>
>on "Dtr.Show()" it says "Uknown object".. what's wrong? i used this in printform1 and there's no error..
>
>my visual foxpro is acting a bit odd now..
>
>or am i just missing something?
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform