Hello!
I try to populate different columns of a table from different queries, and I get the same result for the following two queries, why is that ?
Set rs1= db.OpenRecordset("SELECT table.deebet, sum([table].eSumma) as SumOfEsumma FROM [table] WHERE [date] < #" & startdate& "# GROUP BY päevaraamat.Deebet;", DB_OPEN_DYNASET)
Set rs2= db.OpenRecordset("SELECT table.deebet, sum([table].eSumma) as SumOfEsumma3 FROM [table] WHERE ((([table].date) between #" & startdate& "# and #" & enddate& "#) GROUP BY table.Deebet);", DB_OPEN_DYNASET)
Thank you in advance,