Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference SQL and VFP
Message
De
07/02/1999 04:09:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Difference SQL and VFP
Divers
Thread ID:
00184820
Message ID:
00184820
Vues:
64
I am converting a program from VFP to SQL with ado.

I seems that the sql statements are not compatible.
The SUM with an IIF statement does not give the correct result

Example

select *, sum(uurfact) as fact, SUM(IIF(ureisk='Ja ',1,0)) as reisk from uren where umcode= '20002 ' group by umcode

Can someone help me.

Kind regards


Jan Dorresteijn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform