January 21st, 2011, 11:02 AM
Join Date: Jan 2008
Time spent in forums: 2 h 56 m 24 sec
Reputation Power: 0
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-hel...how-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")