Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Problem only in EXE
Message
De
14/07/2001 03:41:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00530538
Message ID:
00530616
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform