Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sort not working as expected
Message
De
12/11/2008 10:44:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01361158
Message ID:
01361355
Vues:
11
Ah-Hah! That's the ticket!

>>What we finally ended up doing was create another 'type' for the empty(neSigOpt) condition. What was frustrating me was that even when I changed the neSigOpt to iif(empty(neSigOpt),1,neSigOpt) as neSigOpt, we still got the same results
>
>In VFP in case when a field alias has the same name as a field in a table, the table field takes precedence. IOW, you still referencing neSigOpt field from the table not the new calculated value. It would work if you use an alias that was not intersecting with the table filed names and adjust ORDER BY accordingly.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform