I use ado and vb6 classic and access database...
in table TEST have:
Field1 Field2 Field3
AAA BBB -100
AAA CCC 100
AAA BBB 100
AAA BBB 100
.....
based the goup by Field1 and Field2 i need to delete a pair of recorset where the algebric summ of filed3 is =0
in this my case delete this two recordset:
AAA BBB -100
AAA BBB 100
to the and of query i need to have this result:
AAA CCC 100
AAA BBB 100
i hope understand me....
Tks.
in table TEST have:
Field1 Field2 Field3
AAA BBB -100
AAA CCC 100
AAA BBB 100
AAA BBB 100
.....
based the goup by Field1 and Field2 i need to delete a pair of recorset where the algebric summ of filed3 is =0
in this my case delete this two recordset:
AAA BBB -100
AAA BBB 100
to the and of query i need to have this result:
AAA CCC 100
AAA BBB 100
i hope understand me....
Tks.