Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetAlias()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00314242
Message ID:
00314407
Vues:
20
>>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
Fil
Voir

Click here to load this message in the networking platform