Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Problem only in EXE
Message
From
14/07/2001 03:41:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00530538
Message ID:
00530616
Views:
16
>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.

Are r.sedol and c.sedol character fields? If so you might want to force an exact comparison using == instead of =.

Also check your dev environment SETtings; you may have one or more that are not the default.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform