Hi All!
I am receiving the following error message: Public member 'Value' on type 'Integer' not found. Getting the error on -- custNum = CInt(dt.Rows(i).Item("cust_customer").Value) -- line
Can anyone help?
My code is :
Thanks
I am receiving the following error message: Public member 'Value' on type 'Integer' not found. Getting the error on -- custNum = CInt(dt.Rows(i).Item("cust_customer").Value) -- line
Can anyone help?
My code is :
VB.NET:
Dim custNum As Integer
Dim svcResult As String
sSQL = "SELECT DISTINCT cust_customer, an_group "
sSQL += "FROM ar_customer, ar_altname, fo_site "
sSQL += "WHERE an_cust = cust_customer "
sSQL += "AND fosi_customer = an_customer "
sSQL += "AND fosi_sub_type IN (SELECT fosi_sub_type FROM twgi_wiz_acct_type WHERE is_commercial = 'Y') "
sSQL += "AND fosi_sales_type <> 'CL' "
dt = fDB.GetResultRows(sSQL)
For i = 0 To dt.Rows.Count - 1
custNum = CInt(dt.Rows(i).Item("cust_customer").Value)
svcResult = svc.GetAging(custNum)
Thanks