Thread: Sum VB code?!?!
View Single Post
Old 03-16-2005, 05:48 AM   #2 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
You could do it with SQL:

Code:
SELECT SUM(fieldname) AS identity FROM tablename
then in your vb code reference the identity column name you give it
__________________
~Ryan

rdove is offline   Reply With Quote