Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace
Message
 
 
À
19/05/2011 15:17:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01511100
Message ID:
01511169
Vues:
36
>thank you for reply
>i try it but if i have 2 values i see only one value other value as *
>
>select min(flg1) as flg1, EmpNo,min(SUM_SUM_TO) as SUM_SUM_TO,; 
>max(iif(flg1='A',SUM_SUM_TO,0)) as A1, ;
>max(iif(flg1='B',SUM_SUM_TO,0)) as B1, ;
>max(iif(flg1='C',SUM_SUM_TO,0)) as C1, ;
>max(iif(flg1='D',SUM_SUM_TO,0)) as D1  from TWW GROUP BY EmpNo ORDER BY EmpNo
>
>INDEX ON EMPNO TO AA
>BROW
>
I am not sure I understand what do you mean. Does the query produce correct result? If not, what data do you have and what do you get with this query?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform