Information générale
Catégorie:
The Mere Mortals Framework
>>Kevin,
>>
>>I'm having problems with business objects in general. I have a view that I'm trying to select using:
>>
>>loSelect = CREATEOBJ('cSelect', This.GetAlias())
>>
>>When running in debug mode everything is fine, but the compiled exe returns errors becuase This.GetAlias() fails. I think it's looking for oDataEnvironment but the if statement is failing. Do you know of anyone else having this problem?
>
>James,
>
>Where is this code? What is This at the time of the call? If this is in a form, you may want to try ThisForm.oBizObj.GetAlias().
>
>Kind Regards,
>
>Mat
Mat,
This. is the business object itself. Like I said: everything runs fine in debug moded, but fails when running the exe. I have put wait windows in the GetAlias method to see if the method is running OK, but it fails because there is no reference to oDataEnvironment.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement