Hi Ludek,
Here is the project property page:
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. :-(