on 05-27-2011 2:59 PM
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
I responded to your other thread:
Please do not cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
Closing and locking this thread.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.