How To Accumulate The Sales Amount And Then Display The Total Sales
Apr 5, 2011
I need my program to output and input a customer ID and sales amount multiple times. I need it to display both outputs, customer ID and sales amount, on mulltiple lines. It also will need to accumulate the sales amount and then display the total sales. it should look something like that.[code...]
I think that I was supposed to use a messagebox but wrote the program a different way. the form.vb was already locked, but I added two text boxs. Not sure if I did this right because I need to enter multiple sales for one customer ID.[code...]
View 1 Replies
ADVERTISEMENT
Aug 15, 2009
I'm making an application in school where I have to display the values of domestic, international, and total sales of company "Conway Enterprises." Everything seems to be working except it is not displaying the totalCompany sales as a currency. I'm sure it's probably an easy fix but I've been searching the internet and re-reading my book for awhile with no results. Below is the code, as I said everything seems to be working fine aside from adding the two array values and then displaying them as currency.
[Code]...
View 4 Replies
Nov 3, 2009
I am trying to get a function so when i press the calculate button it somes up with sales totals and sales commissions. this is just a simple project i just cant find the answer.
View 5 Replies
Mar 23, 2010
I am having some trouble with my program that I am doing. I am supposed to code the application so that it creates a report which I have done. Now the problem that I am having is I have to use an accumulator for the total sales amount in the access file. I am stuck on how to have it say "Total Sales:" and then have the accumulator with the ammount of $32000 next to it becuase I have to use the accumulator to total the sales.
[Code]...
View 1 Replies
Jun 2, 2011
how to accumulate the total amount in sql table. I have created a table below but it does not calculate accurately. By mean it just total up current top up amount with the 1st value of grand total. How do i total up to get the accurate figure.
ID Amount GrandTotal
99 1000 1000
99 500 1500
99 300 1300
99 200 1200
View 2 Replies
Mar 31, 2009
When I run this application the 2% menu item works fine but the 5% does not. It does nothing at all. I'm stuck.
[Code]...
View 2 Replies
Mar 27, 2011
My code works correctly if I do not have the DO WHILE statement, however we are suppose to have it loop. Which it will continue to ask for the salesman's name, code, etc. but when the user enters the name "eugene" the program is suppose to calculate and output the total monthly sales and the total commission dollars. What is happening is that when a user enters "eugene" the program is not recognizing it to do what it is suppose to do(calculate and output the total monthly sales and the total commission dollars) I am stuck and need assistance on how to make it recognize eugene. I am also having trouble with trying to figure out how once eugene is entered to tell the program to add the salespersoncommission and monthly sales of each case to get the totals to output to the user. Can you add the cases?
Option Explicit On
Option Strict On
Module Lab14
[code].....
View 8 Replies
Apr 1, 2011
So I'm trying to program a selection structure to display different commission rates per sales entered in a textbox.I need to have the commission total display alone. I have the simple interface done, but I'm having trouble forming the selection structure.
View 1 Replies
Jan 21, 2010
i have a datagridview binded with the datatable via its datasource property....now i want to add the Amount column of the dgv and display the total amount in the textbox,if the amount is greater than a certain value then i want the cell to coloured red so i did this code and it worked great:
Dim i, j As Integer
For i = 0 To DataGridView1.RowCount - 1
j += Me.DataGridView1.Rows(i).Cells("Amount").Value
Next
[code]....
but my problem is that i want the red colour of the cell to blinkafter every 2 seconds....how to do this?i need to handle the timer tick event for this but i am not able to do this.....
View 2 Replies
Oct 6, 2009
This should calculate and display the total amount due. There are 3 radio buttons, A, B, C. Nonprofit should get a 20% discount from final charges.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radA.CheckedChanged
[Code] .....
View 5 Replies
Mar 6, 2011
The project is suppose to total the 8 commissions (in the array) I see the coding but when I try to put in a label at the bottom of the txtReport I get an error now I have deleted the box and am confused as to what my next step should be. Do I create a label box in the txtReport. I am so close to being finished.
The item "objDebugWindowsApplication1.Form1.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter.
[code].....
View 9 Replies
Aug 28, 2009
I have desinged a point of sales software but i need a lot of help to upgrade it as it is not standard and i'm a young programmer. I have designed the following forms (Cash Sales, Credit Sales, stock and Items).When a user inserts a record for cash or credit sales) I want that particular product entered to be deducted from the stock.
View 1 Replies
Aug 30, 2011
I've figured out how to add the sales tax to a total, But I'm getting back an unrounded number for my total.This is my code to add the sales tax.
[Code]...
View 5 Replies
Feb 23, 2011
I'm working on a visual basic application( w/ visual studio 2010) that calculates ticket sales. This one is been really challenging since i'm a newbie when it comes to visual basic.I'm i'm having trouble getting the calculate button to Here are the instruction to get the costs from the functions and use them to calculate the total.
1.)User selects whether to purchase season tickets or single-game tickets
2.) User enters the number of tickets needed and the type of seats based on whether they selected season single-game tickets.
3.) User clicks the Compute Ticket Cost Button to display final cost
4.) User clicks the Clear Form button to clear the response
I'm stuck on the calculating button. I just need to be able to capture the cost from the button and then use the button to compute it.
Public Class Form1
'Global Variables
Dim intTicketChoice As Integer
[code]....
with the singlegamecost() function and the seasonacost() function
View 2 Replies
Dec 15, 2011
I have just finished college and I am awaiting my exam date. I have created some desktop applications for my portfolio, but now I want to create a Point of Sales (POS) system to add to the list.I notice in supermarkets and various shops that POS systems use touch screen monitors to interact with the program.My first question is, do I need to use different code or controls in my applications so they can be used with touch screen monitors.I have created an application for hotels for booking rooms (not for a client, just as a demo project), but if there is anyone out there who could give me some pointers on how to create the POS system.I will be doing some research and I will start designing some controls over the next few days. I am looking forward to getting this project started.
View 2 Replies
Mar 19, 2009
I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, a combined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow. [code]
View 1 Replies
Dec 19, 2009
I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, acombined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow.
Public Class MailOrder
Private product1 As Decimal = 2.98 ' product number 1
Private product2 As Decimal = 4.5 ' product number 2
[code]....
View 3 Replies
Nov 6, 2010
I want to show the sales data graphically.
View 2 Replies
Sep 6, 2009
I have a table with these columns:
IDsales, salesDate, salesmanID, itemDesc
I need an SQL querry to select all the sales from a certain date, with the summed sales grouped by salesmanID. The problem with the querry is that the data in the salesDate field is in a long format (with dd/mm/yyyy hh:mm:sss) and I dont know how to set the querry to disregard the "time" info, and take in account the "date" part only.
View 5 Replies
Nov 29, 2009
I have difficulties in doing 18.15 Sales Report Application in Visual Basic 2008 pp 405-406. It doesnot look complicated, but when I really start doing it.
Here is the link for the exercise (pp 405-406), 18.15: [URL]
View 1 Replies
Jul 12, 2009
How do I (Add code to read and use the data from the Sales.txt file
2/1/07,Books,10.00
2/1/07,Games,29.99
2/1/07,Books,15.99
[code]......
View 10 Replies
Apr 18, 2010
I am trying to add the Sales Revenue for each of the three rows and populate them in their own text box and then get a sum of the three text boxes. For Example:
1 2 3 4 5 (15)-text box
1 2 3 4 5 (15)-text box
2 4 4 3 5 (18)-text box
-----------------------
(48)-text box
[Code].....
View 3 Replies
Nov 5, 2009
I'm trying to create a Software Sales calculator. My issue is not being able to have the lblPackageA3 to display the number as FormatCurrency after having the txtPackageA being multiplied by $99.Also need to figure out how to apply discounts depending on the number of sales IE 10-19 = 20% off
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
Dim sngPackageA As Single
Dim sngPackageB As Single
[code]....
View 14 Replies
Jan 14, 2010
I want to try to make a program for the Bill Print.
View 1 Replies
Nov 13, 2011
Assume a grocery store approached you to write a simple program that calculates total sales of purchases. The program should accept item costs as input, calculate the tax on each item (8%), then display the item cost, total cost, and total after taxes. Item costs will be added to a listbox while the total without the taxes will be displayed in a label, the tax amount in another label, and finally, the total cost (items cost + tax) in a third label. this is the problem I have to program for,
View 3 Replies
Oct 21, 2009
I wrote this code and everything works as planned:
Module SalesCommissionProgram
Sub Main()
Dim name As String = 0
Dim code As String = 0
Dim monthlySales, commissionDollars As Double
' Prompt user to input value for name
[Code] .....
For the finished project I am supposed to have it output the total sales and commissions for that were calculated before the sentinel value (Eugene) was entered. Here is what I tried and here is where I am lost.
Module SalesCommissionProgram
Sub Main()
Dim name As String = 0
Dim code As String = 0
Dim monthlySales, commissionDollars As Double
[Code] .....
View 10 Replies
Apr 5, 2010
i have a database shown on VB 2008 showing music information. i am trying to show the track with the greatest number of sales however it is only displaying the current information on the screen (i am showing the access database in multiple text boxes) rather than searching the database.
this is the section of code i am struggling with:
Private Sub Btntopseller_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btntopseller.Click
Dim index, largest As Integer
[Code]....
i also would like to add to this, i would like the user to be able to select a year from a list box to show the track with the greatest number of sales in that year.
View 3 Replies
Jan 25, 2012
I have a project that you enter someone's name, home town and initials saves it to an array which later is produce into a pie chart.
The question is: The class has one method called addCompetitor that takes String parameters to indicate a name, home town and initials, and an Integer to indicate the position in the tournament. The method creates a Competitor object and stores it in the corresponding element of the position array.
Public Class Cakes
Dim position(7) As Integer
Dim amountSold(7) As Double
Dim noOfCompetitors As Integer
[Code]...
View 7 Replies
Feb 15, 2012
i'm working on a project that is trying to calculate the discount on three different kind of packages, each worth different prices.
what we are given is
package A= $99
package B= $199
[code].....
View 6 Replies
Oct 4, 2009
I am a first time poster and fairly new to using VB 2008.I was having some trouble with writing a program that shows the sales tax of items (i.e cars, food, etc).
[code]...
The buttons are in the middle and the four text boxes are marked with brackets and underscores.I know how to code the "clear" and "exit" button but I am having some difficulties with the calculate button.
View 9 Replies