The CompanyDataSet contains a table named Sales and a field named Income. Which of the following loops
Question:
The CompanyDataSet contains a table named Sales and a field named Income. Which of the following loops will accumulate the values in the Income field?
a. For Each row As CompanyDataSet.Sales.Row
In CompanyDataSet.Sales.Rows
Sales.Row += row.Income
Next row
b. For Each row As CompanyDataSet.Sales.Row
In CompanyDataSet.Sales.Rows
dblTotal += row.Income
Next row
c. For Each row As CompanyDataSet.Sales.Row
In CompanyDataSet.Rows
dblTotal += row.Income
Next row
d. For Each row As CompanyDataSet.Sales
In CompanyDataSet.Sales.Rows
dblTotal += row.Income
Next row
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: