Solved

URGENT: crystal report and oracle 10g

Posted on 2004-04-29
17
453 Views
Last Modified: 2010-04-24
hi, i need some help with vb.net's crystal report

i'm using oracle 10g as the database for my prog, right now i need to produce a report based on SQL QUERIES that accepts values from users

i know how to establish connection between vb.net and oracle 10g, but i dunno how to do so between crystal report and oracle 10g  

pls help...


thx,
gildan2020
0
Comment
Question by:gildan2020
  • 9
  • 6
  • 2
17 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 100 total points
ID: 10953307
I would advise that you create your dataset with vb.net and just pass it to the crystal report.  

It's possible to create a crystal report that connects to oracle, but if your results are based on user values that's going to be more difficult or impossible (depending on the specifics) to do.  It will be much more efficient to handle the user values in your application and send the completed dataset to crystal.

Here's a walkthru for doing this: http://support.businessobjects.com/communityCS/TechnicalPapers/rtm_reportingoffadonetdatasets.pdf.asp
0
 

Author Comment

by:gildan2020
ID: 10962453
hi, i've tried that but it gave me this error...

Query Engine Error: 'C:\DOCUME~1\gildan\LOCALS~1\Temp\temp_235e...blah blah lbah.rpt'

wat do i do?


gildan2020
0
 
LVL 42

Expert Comment

by:frodoman
ID: 10963607
Query Engine Error can mean just about anything.  

Make sure your dataset is being populated correctly - maybe attach it to a datagrid or something to verify that the correct data is being pulled in.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:gildan2020
ID: 10970666
well...i can't prove much but with the same steps on a different type of database, such as Access

i can pull everything out correctly, into the crystal report without any errors. so, i doubt that the dataset has any problems in it.


gildan2020
0
 

Author Comment

by:gildan2020
ID: 10970972
update: i just tested it with a datagrid and there seems to be no problem, it fetches all the data correctly

gildan2020
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11123139
Are you using the Oracle provider to access your Oracle database?

Bob
0
 

Author Comment

by:gildan2020
ID: 11128391
yes, i'm using the oraoledb...btw i'm using oracle 10g
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11128422
Not the OleDb provider, the OracleDataAdapter, OracleCommand, OracleConnection, etc.

Bob
0
 

Author Comment

by:gildan2020
ID: 11128431
oh sorry, i'm using the oracle connection
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11128440
Do you have Visual Studio.NET 2003?  It has the OracleDataAdapter.

Bob
0
 

Author Comment

by:gildan2020
ID: 11128445
i'm using visual studio .net 2002
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11128458
Okay, back to business.

What was the full error when you tried to connect Crystal Reports to the dataset?

Bob
0
 

Author Comment

by:gildan2020
ID: 11128479
i get something like this...

Query Engine Error: 'C:\DOCUME~1\gildan\LOCALS~1\Temp\temp_235e...blah blah lbah.rpt'

the temp is too long and full of alphanumeric characters
0
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 150 total points
ID: 11128502
Have you seen this:

Err Msg: "Query Engine error..." when running a .NET app on a client computer
http://support.businessobjects.com/library/kbase/articles/c2011164.asp

Bob
0
 

Author Comment

by:gildan2020
ID: 11128509
ok, i'm gonna need some time to find out about this

i'll keep u posted, thx

gildan2020
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11177027
Did you find out anything yet?

Bob
0
 

Author Comment

by:gildan2020
ID: 11186647
hi, sorry for replying this late

i finally got it to working
thx a lot

gildan2020
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 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