- Oct 14, 2004
- 1,887
- 0
- 0
I'm having trouble coding something here.
I need to code the calculate buttons click event procedure and to use variables.
Then to use the To String method to display a thousands separator if needed and two decimal places in the total sales and commission amounts.
the XCalcButton Click event procedure
1. calculate total sales = New York Sales + Maine Sales + Florida Sales
2. calculate the commission - total sales *5%
3. display total sales and commision in the xTotalSalesLabel controls
4. Send the focus to the New York Text Box
Any help would be much appreciated!
I need to code the calculate buttons click event procedure and to use variables.
Then to use the To String method to display a thousands separator if needed and two decimal places in the total sales and commission amounts.
the XCalcButton Click event procedure
1. calculate total sales = New York Sales + Maine Sales + Florida Sales
2. calculate the commission - total sales *5%
3. display total sales and commision in the xTotalSalesLabel controls
4. Send the focus to the New York Text Box
Any help would be much appreciated!