Am not very sure but
You want to select range and then add
ADOQuery.SQL.Add('SELECT XY.XY, SUM(XY,XY)');
if so You must make sure that the values exists in the datasource,
If they are then I dont know what causes that
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.