Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Objects
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
01131985
Message ID:
01132394
Views:
12
>>>Hi, is there somethiung wrong with my Business Objects. Let me try to explain.
>>>
>>>To check if PROJMGR Clients Business Object is Ok, I did:
>>>
>>>
>>>
>>>CD\MMortals\ProjMgr
>>>DO SETX
>>>oClients = CREATEOBJECT("Clients")
>>>? oClients.Requery()
>>>? oClients.GetDataX(3)
>>>
>>>
>>>
>>>Everything were fine.
>>>
>>>When I tried to check my Application "Clientes" Business Object:
>>>
>>>
>>>
>>>CD\Projetos\SCV
>>>DO SETX
>>>oClientes = CREATEOBJECT("ClientesBizObj")
>>>
>>>
>>>
>>>I got a "File does not exist." error message. What is going on?
>>>
>>>Regards,
>>
>>Do you have the library for this object included into your project? Where did you have data environment for this biz object?
>
>Thanks for your answer Naomi.
>
>Yes. abizness.vcx.
>adataenv.vcx
>
>Regards,

Hmm, do you mean you put all your business objects into aBizness.vcx and data environment in aDataEnv? We're using different approach here. We put biz objects into class libraries and their environments into the same libraries.

Anyway, try newobject function instead and specify the library as the second parameter. Also you may try to put a break point into class Init's method, e.g.

set step on
return dodefault()
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform