on 05-28-2011 2:05 AM
Dear all,
I am using below code. But find it does not work??
Dim rd As New ReportDocument
rd.Load(Path + "\Reports\StockTakeException.rpt")
rd.SetDataSource(ds)
rd.SetParameterValue("Printed By", printedby)
rd.SetParameterValue("frmLoc", fromLoc)
rd.SetParameterValue("toLoc", toLoc)
rd.Refresh()
rd.PrintOptions.PrinterName = LaserPrinter
rd.PrintToPrinter(1, False, 0, 0) // throw exception here : Missing Parameters
Raymond, last week you posed the same query and I asked you a couple of questions. Did you not get my post there?
- Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.