I have a question that has frustrated me while doing my homework. We do not get grades on it. I am 58 and taking it as a 'recreational' subject with the intention to know as much as possible.
I have a txtBox where one enters a Number. I then have a Summary Box which supposed to take the contents of the box and plases it on command into a lbl box. The intention is to accumulate numbers in the Summary box. For some reason it does not work. I can accumulate numbers from a lblbox to a lbl Box but from a txt Box to a lable summary box results in a blank entry.
The 'Sales' commands work as shown below:
Dim curWeeklySales As Currency
Dim SummaryWeeklySales1 As Currency
curWeeklySales = Val(txtWeeklySales)
lblSummaryWeeklySales1.Caption = FormatNumber(curWeeklySales) _
The following where out of frustration gave the cammand a number, resulted in a blank.
Dim curSummaryWeeklyPay1 As Currency
lblSummaryWeeklyPay1.Caption = 10000 This results in a blank
lblSummaryWeeklyPay1.Caption = Val(LblPay1.Caption) This also results in a blank