I have a database system. And i want to sum the column or filed COST.
I am using this code
But it is returning null value or 0 to me.
Whats the problem.
Using ADODC1
DATABASE = Access
Vb6.0
Xp Sp2
I have two ADODC's on a form and both have different databases.
Thanx
I am using this code
Code:
Dim sSQL As String sSQL = "Select Sum(Cost) from Exp" lblST.Caption = Val(sSQL)
Whats the problem.
Using ADODC1
DATABASE = Access
Vb6.0
Xp Sp2
I have two ADODC's on a form and both have different databases.
Thanx
Comment