Crystal Reports with VB.NET

  • Thread starter Thread starter dkode
  • Start date Start date
D

dkode

Guest
Hello,

I have created a crystal report in my vb project called (TaskSummary.rpt)

It is bound to a Crystal Report Viewer called crvTaskSummary

From my main form, I fill a dataset and pass it to crvTaskSummary when I create an instance of crvTaskSummary. I then bind the dataset to the TaskSummary.SetDataSource property.

It does not prompt me for a username/password like other people say. All it tells me is :

"Query Engine Error: C:\......\....\34fsdkj34.rpt"

i am completely stumped!

Does anyone know why it would be doing this? I thought by passing a dataset I avoid this problem?

Thank you

P.S.

I HAVE included all the required merged modules that crystal notes on their website. I have also verified that the dataset has rows in it when I pass to the form that has the Crystal Report Viewer
 
I have experieced the "Query Engine Error" message many times and it has always turned out to be a missing field or misspelt field name.

Double check that the dataset is returning all the fields which you have placed on your report.
 
Back
Top