Hi Eric,
Tx for your response. I think I've found the problem: I fill parameters in
the viewer object, but not in the doc object; if I fill them there, I think
that will solve it.
Thanks for you help.
Bernie
"EricJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> did you fill the parameters in your code?
> ex
> crReportDocument.Load(Application.StartupPath & "\Reports\" &
> strBestandsNaam & ".rpt")
>
> crReportDocument.SetParameterValue("VRTID", vrtID)
>
> crReportDocument.SetParameterValue("UserID", User.UserIdLogged)
>
> eric
>
> "Bernie Yaeger" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm working with Brian Bischof's excellent 'crystal reports .net
> > programming', but I'm having one problem: I can export to .pdf in code,
no
> > problem, using the exporttodisk method, but there appears to be no way
to
> do
> > this when there are parameters in the report. If anyone knows how to
> export
> > to .pdf in code when there are params, I'd sure appreciate some help.
> >
> > Bernie Yaeger
> >
> >
>
>
|