* We don't want our report to have two entries for cities having French characters * So, Montreal and Montréal will be processed together RESTORE FROM (gcMainAll+'european.mem') ADDITIVE SELECT SYS(15,m.euroansi,Ville) AS Ville,UPPER(SYS(15,m.euroansi,VILLE)) AS Ville2,; COUNT(*) AS Compte FROM Member WHERE ...; ORDER BY 3 DESCENDING GROUP BY 2 INTO CURSOR TempEven with two SYS(15) in it, it works as fast.
* We don't want our report to have two entries for cities having French characters * So, Montreal and Montréal will be processed together RESTORE FROM (gcMainAll+'european.mem') ADDITIVE SELECT ... FROM Member; WHERE ... AND UPPER(SYS(15,m.euroansi,VILLE))=lcCity; INTO CURSOR Temp