==============
Code:
SELECT DISTINCT date AS field1, sum([Total Amt]) AS field2 FROM Table1 GROUP BY date;
query2
================
Code:
SELECT DISTINCT date AS field1, sum([Total Amt]) AS field2 FROM Table2 GROUP BY date;
p.s. you do not need second database(db27) change in form31 the properties of
adodc1 to use as database the db1.


