January 21st, 2011, 10:02 AM
Getting Total of Rows
In the morning I was at MySQL forum here, and I got some help from there, now I am looking for some help from here...
The post is: http://forums.devshed.com/mysql-help...ow-781174.html
The thing is: I dunno how to get the Total. If I loop, I can get individual values, but I dunno how to get the total.
I am looking for a way to do:
Total Micros: XX
Total Printer: YY
Any help will be great, thanks.
If Not Pesquisa.EOF Then
Do While Not Pesquisa.EOF
Micros = Micros + Pesquisa("Micros")
Impressoras = Impressoras + Pesquisa("Impressoras")