Michael,
Sergey is right, but I'd go further and recommend that you stop using aliases like that at all. The only time I use them now is when a table is joined more than once in a query.
SELECT results.*,results.cntrycode AS iso_country_symbol, c_corpact.DESCRIPTION ;
FROM results ;
LEFT OUTER JOIN c_corpact ;
ON results.sedol = c_corpact.sedol and ;
results.todate = DTOS(c_corpact.event_date) ;
WHERE ABS(results.index_bip_effect) >= THISFORM.txtBipFilter.VALUE ;
INTO CURSOR results
>I have a problem. This query:
>
>SELECT r.*,r.cntrycode AS iso_country_symbol,c.DESCRIPTION ;
>FROM results r LEFT OUTER JOIN c_corpact c ;
>ON r.sedol = c.sedol and r.todate = DTOS(c.event_date) ;
>WHERE ABS(r.index_bip_effect) >= THISFORM.txtBipFilter.VALUE ;
>INTO CURSOR results
>
>returns different results when run in the VFP environment than when it runs in an exe. In VFP, the "c.Description" field is populated, like it should be. When it's compiled into an exe, it doesn't get filled in (unless I run the exe in VFP). Is there something I'm missing here? I'm very lost.