>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