how to get code in dicounted 5 item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • noobvbpoor
    New Member
    • Sep 2012
    • 1

    how to get code in dicounted 5 item

    I have 5 items 13 textbox 3 button the first button is TOTAL 2nd button LESS 3rd DISCOUNTED

    the first 5 textbox is you put the quatity of item and the next 5. textbox is show the price


    Textbox11 show the total sum of 5 items when you click TOTAL now what I code in button LESS to get the less? And discounted?
  • michaeldebruin
    New Member
    • Feb 2011
    • 134

    #2
    I know I am not an moderator. But due to my experience on this forum I can tell you that this is not really a forum on which you can ask for complete scripts, or lines of code to put into your project. We might be able to help you by looking through your code and see what's wrong but that's all we can do.

    Comment

    • zmbd
      Recognized Expert Moderator Expert
      • Mar 2012
      • 5501

      #3
      noobvbpoor

      Michaeldebruin is correct in that simply asking for code does not usually result in compleated code being posted unless we get to see your work first. Too many homework questions.

      You need to do the following:
      IN your total button, write code that calculates the subtotal of each of the items and then grand total. Return that value to your form.

      IN your less button... you have not really given any usefull information... what is it you want here?

      IN your Discounted button... once again, you have not given any usefull information. I can guess what you want bases on life-experince. My guess is that you either need to calculate what the discount is or you need to calculate the net amount.

      Until you can post some calification and show your work that's the best I can offer. (remember to use the code tags).

      Comment

      Working...