Solved

Crystal Reports New Connection to ODBC database is BLANK

Posted on 2013-01-29
14
358 Views
Last Modified: 2013-08-16
I have created by ODBC Datasource and when I go into Crystal to make a NEW CONNECTION I select the datasource and say finish but there are no files available.
0
Comment
Question by:kvrogers
  • 5
  • 3
  • 2
  • +2
14 Comments
 

Expert Comment

by:MayurDighe
ID: 38831588
0
 
LVL 77

Expert Comment

by:peter57r
ID: 38831623
When you create an ODBC datasource you usually have the option to test the connection.
Did you do so and did it work?
0
 

Author Comment

by:kvrogers
ID: 38831747
Did not have option to test datasource.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 77

Expert Comment

by:peter57r
ID: 38831857
Then I don't know what to suggest.
If you can't be sure the ODBC connection is valid I don't know what you do.
0
 
LVL 18

Expert Comment

by:vasto
ID: 38831868
If your machine is 64 bit you need to create the DSN using c:\windows\sysWOW64\odbcad32.exe. Otherwise crystal will nit be able to see it.
0
 

Author Comment

by:kvrogers
ID: 38833026
I am running these reports off my "C" drive.  I have actually 2 folders with the files I need in them.  These are the files from 2 different databases.

Now Folder 1, I can connect and use Crystal.  Folder 2, is the one that I am having trouble with.

I am attaching screen shots of how I set this up.
CTREE2-ODBC.JPG
CTREE-ODBC.JPG
datasource-connection.JPG
NO-FILES-ADDED.JPG
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38833097
What version of Crystal?

What WIndows version?

mlmcc
0
 

Author Comment

by:kvrogers
ID: 38833193
CR - 11.0.0.895

Windows: 7 Professional.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38833704
CR 11 is strictly 32-bit.

Also, that is release 1 which was rather quickly replaced by release 2.  It will only run in .Net Framework 1.1.

What is the difference between Folder 1 and Folder 2?

mlmcc
0
 

Author Comment

by:kvrogers
ID: 38834679
One is family practice data and the other is psychology.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38837926
Are they pointing to different databases or just need to use different tables in the same database?

mlmcc
0
 

Accepted Solution

by:
kvrogers earned 0 total points
ID: 38841786
Well I figured it out.  
1.   In the FAIRCOM folder I have two files.  One called pp.db and one called pp2.db.  These files contain all the file names of the files in the  original database and the location of the folder on my "C" drive where I am running the reports from.  Looks like this: " Ar12cd99  C:\CopyPPart\Ar12cd99.dat " with a line for every file in the pp.db file.  It takes to long to run the report from the server so I copy the files to my "C" drive.
2.    The file called pp2.db holds the same files as pp.db but reads " Ar12cd99  C:\CopyPPart2\Ar12cd99.dat " as this is where the PSY database files are.
3.    In recreating this pp2.db file I must have been missing a file needed to run.  
4.    This time when I tried the NEW CONNECTION it found the files.  
5.    I ran the report the first time with no results.  But then I thought I should update the files on my "C" drive where the report is run and THEN run the report again and this time it worked.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports Sub Report 4 93
Crystal Reports--SubReport 3 65
Crystal Reports Format Field with Dashes 6 60
Crystal Reports 13 5 86
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. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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