mrf3000
Programmer
- Feb 4, 2003
- 15
Hello,
Hoping someone can help me. I have a vb6 app using the crviewer to display an ado recordset set in code. The report was designed using a TTX file. There are two detail sections....one for each page of the report. Let's call the first the invoice and the second the letter. Well the first invoice prints fine and then the first letter but then when you go to the second invoice, the viewer comes up with an error as follows: "Unkown query engine error"...now the second letter prints as well as the 3rd,4th,5th, etc.....the only ones that don't print are the 2nd and greater invoice. I've tried changing the query with and without a "where" statement and it seems that the error is coming from the report design, but I can't figure it out. I've tried updating the client computer to CR9 SP2 and the varios hot fixes. This does NOT occur on the development machine only on the runtime machine. As far as Crystal says, the TTX file does not need to be in the exact order of the ADO recordset as long as the fields are named. The only time you need the order the same is when you map fields by ordinal position in the registry. Like I said, I have no idea why this error is occurring and any help would be appreciated.
Thanks,
mrf3000
Hoping someone can help me. I have a vb6 app using the crviewer to display an ado recordset set in code. The report was designed using a TTX file. There are two detail sections....one for each page of the report. Let's call the first the invoice and the second the letter. Well the first invoice prints fine and then the first letter but then when you go to the second invoice, the viewer comes up with an error as follows: "Unkown query engine error"...now the second letter prints as well as the 3rd,4th,5th, etc.....the only ones that don't print are the 2nd and greater invoice. I've tried changing the query with and without a "where" statement and it seems that the error is coming from the report design, but I can't figure it out. I've tried updating the client computer to CR9 SP2 and the varios hot fixes. This does NOT occur on the development machine only on the runtime machine. As far as Crystal says, the TTX file does not need to be in the exact order of the ADO recordset as long as the fields are named. The only time you need the order the same is when you map fields by ordinal position in the registry. Like I said, I have no idea why this error is occurring and any help would be appreciated.
Thanks,
mrf3000