Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
01131985
Message ID:
01132433
Vues:
14
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform