>>>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