Hi,
: : Here is a problem I got:
: :
: : I'm creating a form which have text boxes for his name and his weekly sales.
: : Each salesperson receives the base pay $250 plus the commission (if his sales is >=1000), commission rate is 0.15.
: : I need to have the summary menu to display a message box containing the total sales, total commissions and total pay for all salespersons.
: : How should I write the code?
: : Private Sub mnuFileSummary_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFileSummary.Click
: : 'display a message box containing total sales, total commissions, and total pay for all salespersons
: : Dim strMessage As String
: : strMessage = "Total Sales:" & ?????????????????
: :
: :