Question: The tblInventory table contains a numeric field named InStock. Which of the following statements calculates the total of the items in inventory? a. Dim intTotal

The tblInventory table contains a numeric field named InStock. Which of the following statements calculates the total of the items in inventory?

a. Dim intTotal As Integer =

Aggregate item In InventoryDataSet.tblInventory

Select item.InStock

Into Sum

b. Dim intTotal As Integer =

Sum item In InventoryDataSet.tblInventory

Select item.InStock

Into Total

c. Dim intTotal As Integer =

Aggregate InventoryDataSet.tblInventory.item

Select item.InStock

Into Sum

d. Dim intTotal As Integer =

Sum item In InventoryDataSet.tblInventory.InStock

Step by Step Solution

3.34 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Dim intTotal As In... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!