Crystal Reports bug when connecting via ODBC to 2 different datasources 
Author Message
 Crystal Reports bug when connecting via ODBC to 2 different datasources

Hi,
I'm using NT4.0 (service pack 3) , VB5 and CR6.0 . The application I've
written fires off Crystal Reports which retrieves data from an external ODBC
datasource (either MS Access or MS SQL Server).

The problem I'm having is that if I originally create the .rpt file pointing
at an Access data source the
.rpt file displays integer values incorrectly if at runtime the ODBC data
source is MS SQL Server (and vice versa). I don't want to have to ship two
versions of the .rpt file (one for access, one for sql server) with the VB
app. What can I do? Thank you.




Fri, 22 Jun 2001 03:00:00 GMT  
 Crystal Reports bug when connecting via ODBC to 2 different datasources
You might try attaching the MS SQL tables to the MS Access database (File |
Get External Data | Link Tables) and then do all of you reporting against
the Access database, changing table references as as needed.  As long as you
have the ODBC driver, you can attach any database table to an Access
database (Oracle, MS SQL, etc.)

I'm an on-again, off-again Crystal user (depends on the client) but I am
amazed at the number of submissions from people who use have/use MS Access
as a database and then turn to Crystal Reports do to reporting when Access
has a fairly nice reporting tool itself.  And you can reuse Access queries
in many reports.

Also, I've seen a new control that allows you to print Access Reports from
within VB.

Quote:

>Hi,
>I'm using NT4.0 (service pack 3) , VB5 and CR6.0 . The application I've
>written fires off crystal reports which retrieves data from an external
ODBC
>datasource (either MS Access or MS SQL Server).

>The problem I'm having is that if I originally create the .rpt file
pointing
>at an Access data source the
>.rpt file displays integer values incorrectly if at runtime the ODBC data
>source is MS SQL Server (and vice versa). I don't want to have to ship two
>versions of the .rpt file (one for access, one for sql server) with the VB
>app. What can I do? Thank you.





Sat, 23 Jun 2001 03:00:00 GMT  
 Crystal Reports bug when connecting via ODBC to 2 different datasources
Neither of these options will work because the application is written in
Visual Basic and is connecting to an external ODBC datasource which could be
on any computer in the network. It is merely identified by the ODBC
datasource name. Any further help out there?

Quote:

>You might try attaching the MS SQL tables to the MS Access database (File |
>Get External Data | Link Tables) and then do all of you reporting against
>the Access database, changing table references as as needed.  As long as
you
>have the ODBC driver, you can attach any database table to an Access
>database (Oracle, MS SQL, etc.)

>I'm an on-again, off-again Crystal user (depends on the client) but I am
>amazed at the number of submissions from people who use have/use MS Access
>as a database and then turn to Crystal Reports do to reporting when Access
>has a fairly nice reporting tool itself.  And you can reuse Access queries
>in many reports.

>Also, I've seen a new control that allows you to print Access Reports from
>within VB.


>>Hi,
>>I'm using NT4.0 (service pack 3) , VB5 and CR6.0 . The application I've
>>written fires off crystal reports which retrieves data from an external
>ODBC
>>datasource (either MS Access or MS SQL Server).

>>The problem I'm having is that if I originally create the .rpt file
>pointing
>>at an Access data source the
>>.rpt file displays integer values incorrectly if at runtime the ODBC data
>>source is MS SQL Server (and vice versa). I don't want to have to ship two
>>versions of the .rpt file (one for access, one for sql server) with the VB
>>app. What can I do? Thank you.





Sun, 24 Jun 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Main Report and Subreport from different datasources in ASP

2. CONNECT AND PRINT CRYSTAL REPORT VIA CODE

3. A Problem when connecting to a Crystal report through Oracle via VB

4. Problems connecting to a Crystal report through Oracle via VB

5. How to use NT Login via VB to SQL 7 to connect Crystal Reports

6. Problems connecting to a Crystal report through Oracle via VB

7. A Problem when connecting to a Crystal report through Oracle via VB

8. Crystal Reports 4, VB3, ODBC & Connect Strings

9. VB 4.0, Crystal Reports and Access via ODBC

10. VB 4.0, Crystal Reports and Access via ODBC

11. Different between VB's Crystal Report and Seagate Crystal Report

12. Crystal Reports - Access Database via ODBC - Patternmatching

 

 
Powered by phpBB® Forum Software