I have given this syntex in visual basic
Cr1.ReportFileName = App.Path & "\sche income_tax.rpt"
Cr1.SelectionFormula = "{tblrep.pay0407_MCode}=" & m
cr1.action = 1
this is giving error unable to load report
please suggest
Removed By Mod
Printable View
I have given this syntex in visual basic
Cr1.ReportFileName = App.Path & "\sche income_tax.rpt"
Cr1.SelectionFormula = "{tblrep.pay0407_MCode}=" & m
cr1.action = 1
this is giving error unable to load report
please suggest
Removed By Mod
I have edited your post and removed your email address.
You should never post your email address in an open post on an open forum. Mail spam bots can pick that up and before you know it, your mailbox is full of junk mail. If you wish to share your email address with other forum members, please do so via our PM system.
In addition, we prefer all answers to questions be publically posted rather than sent via EMail or PM. That way, everyone with a similar problem can benefit.
Thanks. :)
Your syntax looks OK. What version of Crystal are you using? Are you using the Crystal OCX? Does the error message provide any more specific information?
Usually Unable to Load report indicates trying to run a report from a more up-to-date version of Crystal with the print engine from a previous version eg. running an XI report on the 8.5 engine.