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:
01132433
Views:
13
>>>>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()


Problem solved. I´m indexing the View with a Function that is located in DBC Stored Procedures. Since the DBC were not opened, the Function could not be found.
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform