943,608 Members | Top Members by Rank

Ad:
Apr 30th, 2004
0

problem with VAT and return copmbo box

Expand Post »
i have made most of my program but their are a few poblem areas the return product combo box doesnt work and i cant c y
and i have to print a receipt out but i dnt know how to add VAT info on der. i need total b4 VAT etc

Private Sub CmdPrintReceipt_Click()
'print a receipt for the current customer
Dim Index As Integer
Printer.Print "KINGSKANDY"; Tab(40); Format(Date, "LongDate")
Printer.Print
For Index = 1 To NumberOfSales 'process each produc bought
If SoldProducts(Index) <> "" Then 'this element of array wil be
'empty if product has been returned
Printer.Print SoldProducts(Index); Tab(40); Format(SoldCosts(Index), "Currency")
'print product if it is in array
End If
Next Index
Printer.Print
Printer.Print Tab(30); "Total"; Tab(40); Format(TotalCost, "Currency")
Printer.Print
Printer.Print "Thank you for your custom"
Printer.EndDoc 'without this method receipt will not
'print until you close the program
End Sub

any help very grateful
email me on kamran_bashir786@hotmail.com
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ALAN 007 is offline Offline
6 posts
since Apr 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: HELP with VB project
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: never taught how to show the VAT of a total. I know that u divide by 1.175





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC