We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,756 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

problem with VAT and return copmbo box

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

1
Contributor
0
Replies
1
View
ALAN 007
Newbie Poster
6 posts since Apr 2004
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0708 seconds using 2.65MB