Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports
Message
From
27/12/2000 23:28:02
 
 
To
27/12/2000 22:22:39
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00457231
Message ID:
00457238
Views:
17
>I have designed an application that can use either local tables or SQL Server. I am using Crystal Reports for the reporting. I have 2 ODBC DSNs, one pointing to the local tables in the DBC and one pointing to the SQL Server database. I just rename them when I want to switch to the other data.
>
>I was hoping to have one set of reports that can be used to report on both data sources. However I am finding that this approach will not work. It appears that Crystal formats it's query syntax differently depending on the source of the data, especially when joins are involved. When I switch to the other DSN, the reports no longer work.
>
>Is there a way to get around this and have one set of reports that will work with either set of data?


Do the query in VFP code and save the result to a FOX2X table. Crystal can read that file just fine without ODBC.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform