Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Engine Error

Status
Not open for further replies.

Gux

Programmer
Oct 17, 2002
25
BE
Up to now all was ok with my report.
But problem is the following :

I have added a field to my datasource.
Next I have updated my dataset (.xsd file).
I have also udated my report (Verify Database).

I put my new field on my report but when I run my program, I have the following message
Title : Crystal Report Windows Forms Viewer
Message : Query Engine Error : ....

Does someone now what I forgot ?

Thanks for your help.

Gaëtan
 
You might have forgoton to fill that table into dataAdapter.
code is given below:

Dim myDS as new Dataset1()
Dim orpt as new CrystalReport1()
Dim oleConn As New OleDbConnection(<Connection String>)
Dim oleComm as New OleDbCommand(&quot;Select * from PaymentTable&quot;, oleConn)
Dim oleDA As New OleDbDataAdapter(oleComm)
oleDA.Fill(myDS, &quot;PaymentTable&quot;)

orpt.SetDataSource(myDS)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top