I have one sql command like this (in vfp 3.0):
SELECT number, sum(quantity), sum(value) from a
where a.month = m.month and b.year = m.year ;
group by number into CURSOR ccursor
If I issue this sql in the command window it works fine and the
results are as expexted, but if I issue this command inside the
click method of one buttom, the results are not the same.
I am going crazy, anyone could help me??
Antonio Carlos Kleinübing
Systems Analyst