Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8689

Re: List of values selection criteria not displayed in Crystal .Net Viewer

$
0
0

Hi Ludek,

 

Here is the project property page:
ProjectProperty.jpg
It is set to "x86" not "x64".

 

So I tried the solution from the second KBase article. I added the following code (but using the real names) - I've had to translate from VB to C#.

 

CrystalDecisions.Shared.DataSourceConnections     vdataSourceConnections;

CrystalDecisions.Shared.IConnectionInfo                 vpIConnectionInfo;

 

//DataSourceConnections

vdataSourceConnections = voReportDocument.DataSourceConnections;

vpIConnectionInfo = vdataSourceConnections[0];

vpIConnectionInfo.SetConnection("server", "dbase", "username", "password");

 

If I use an incorrect password the report will stop and ask for connection details, if I use the correct password it does not. This is good as it proves the code is running and doing something.

Unfortunately it doesn't solve the problem - the report runs and gets results but still no list of values displayed on the selection criteria screen.

 

For a moment I thought you might have found it, but unless I screwed up adding the code I don't think this is it. :-(


Viewing all articles
Browse latest Browse all 8689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>