Hi!
I migrated my app from VFP8 > 9.
I know there has changed some in the syntax I have to use.
The strange thing is that underlisted code mostly works fine but sometimes ends up in error.
Anyone who can give me a (generic) hand on how to modify my queries? I thought it has to deal with the group-by clause?
TIA
-Bart
I migrated my app from VFP8 > 9.
I know there has changed some in the syntax I have to use.
The strange thing is that underlisted code mostly works fine but sometimes ends up in error.
Anyone who can give me a (generic) hand on how to modify my queries? I thought it has to deal with the group-by clause?
TIA
-Bart
Code:
* recordsource for grid, created by code
this.parent.parent.recordsource='SELECT Xadres,;
sum(kb) as Aantal,count(*)as bewoners, sum(aantgewist) as gewisten,lid_id, kerkblad,;
adres,huisnummer,huisnumtoevoeg,plaats;
FROM temp;
GROUP BY Xadres;
HAVING sum(kb) <>1;
into cursor temp1;
order by 1 ASC'
gnKolom=1