Solved

Access data for reports directly from SQL or via COM+???

Posted on 2006-06-22
4
403 Views
Last Modified: 2012-08-13
Hi please can someone tell me which way is best -

I have an program written in VB which has uses dll's in a COM+ application to access data stored in SQL. I am also using  functions in the dll's to get data used in Crystal reports. The problem with this is every time i need a new report i need to add a new function to the dll to get the new data then recompile and redistribute the COM proxy application (v. painfull).

Instead should i get the crystal reports to access the data directly from SQL, if so what are the possible pitfuls?

Many thanks in advance,

Jim
0
Comment
Question by:ocschur
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:assyst
ID: 16960040
ur application is using odbc for database connection?
0
 
LVL 1

Author Comment

by:ocschur
ID: 16961356
ADO - OLEDB
0
 
LVL 7

Accepted Solution

by:
assyst earned 400 total points
ID: 16966896
You can populate data directly from SQL. You can use the crystal report control to call the report from the VB application.  It will be faster. You can also pass parameters to display vales from your applications and specify record selection formula to fetch the records based on conditions.

Try...
0
 
LVL 5

Assisted Solution

by:nakul_vachhrajani
nakul_vachhrajani earned 100 total points
ID: 16981673
I agree with "Assyst" - when you want to fetch data in Crystal reports, Access data directly from SQL Server. As "assyst" rightly put it, it's faster and easy.

I have one more suggestion in order to simplify your reports. Write views on the SQL Server so that all you now need to do is fire a select on the view from Crystal Reports, as if you are using a single table! - This would be even faster!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Joomla installation cannot see any mysql databases 4 54
Estimating my database size 7 49
Access Runtime Error '3070' 5 45
Oracle SQL-Queries on a RAC Database 3 41
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

739 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