Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uknown object error
Message
 
To
26/08/2003 22:21:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00823663
Message ID:
00823737
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform