| | |
problem with VAT and return copmbo box
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Apr 2004
Posts: 6
Reputation:
Solved Threads: 0
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
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
- Problem showing MySQL data using a dropdown menu! (PHP)
- Problem selecting item in list box (ASP.NET)
- Weird problem (*nix Hardware Configuration)
- problem in listing directories in list box (Java)
- Combo box selection problem (VB.NET)
- Buying a new computer (Geeks' Lounge)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: HELP with VB project
- Next Thread: never taught how to show the VAT of a total. I know that u divide by 1.175
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application arrays basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver structures subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





