Solved

cannot GetSQLQuery for report

Posted on 2003-12-08
5
780 Views
Last Modified: 2012-06-21
I'm using Crystal Reports 8.0 for my reports with SQL Server 2000 (stored procedures) and integrating those reports with VB 6.0, the working environment is Win 2K.

when I try to run my reports through VB Application, some reports generate following error.

"cannot GetSQLQuery for report"

unable to figure it out that what to do?

plz help, it's a bit urgent, as my reports are ready but don't work from the client application.

Thanx,
Kashif.
0
Comment
Question by:truedev-pk
  • 2
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 9904030
What code are you using to display the report?

mlmcc
0
 

Author Comment

by:truedev-pk
ID: 9911556
I'm using the following API that returns false in case of error

PEGetSQLQuery

The full declaration goes as follows.

Declare Function PEGetSQLQuery Lib "crpe32.dll" (ByVal printJob%, textHandle As Long, textLength%) As Integer

Kashif.
0
 

Author Comment

by:truedev-pk
ID: 9911695
ok thanx mlmcc for taking interest in my question.

i managed to solve it myself. actually I was using an earlier version of crpe32.dll which was making problems, I simpley replaced it with a newer version (the same which I used to develop the Crystal Reports), and it worked for me :)

As a matter of fact there were two different versions of crpe32.dll existing  on my development and deployment servers which needed to be made the same. So, I had to copy the DLL from the Development Server and pasted it on the Deployment Server, simple.

Thanx again,

Kashif.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11868193
PAQed, with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question