Solved

How to Initialize sessions to a Oracle View from Jet Reports MS Excel

Posted on 2011-03-09
9
505 Views
Last Modified: 2012-05-11
Hello Experts!!!

We have a customer trying to access our Oracle based applications using a Reports Engine so called Jet Reports. The data is then exported to MS Excel and treated there.

We have succesfully connected all application but we face an issue when accesing views.

To access data in views in our application usually we need to "LOGIN" using some simple SQL script.

Within the tools we normally use (Sql Developer, Toad, Oracle Reports Writer) basically the script can be louched and then you can create reports with no issues.

Our client is not seeing a way to sent this sql script from within Jet Reports or from Excel so he can´t access data in the views.

Is there any way to do this in Jet Reports or perhaps has to be done from Excel?














0
Comment
Question by:FABRICIO76
  • 5
  • 4
9 Comments
 
LVL 10

Expert Comment

by:Jon von der Heyden
ID: 35093390
Hi

I'm afraid I don't know what is meant by 'Jet Reports'.  I presume it means that your customer means to use the Microsoft Jet OLEDB provider, and therefore probably intends on querying the database using ADO in excel VBA.

Rather than using the Jet provider he should be using a different one.  This will affect the connection string, but likely he won't need to change his SQL or the other ADO code.  See here for a list of providers for Oracle, and connection strings for each: http://www.connectionstrings.com/oracle

I think that your client should know what to do with it.

Best of luck! :)
0
 
LVL 10

Expert Comment

by:Jon von der Heyden
ID: 35093398
I forgot to mention, notice how the username and password (optional) is passed via the connection string.  This serves as the 'LOGIN'.
0
 

Author Comment

by:FABRICIO76
ID: 35093417
Hello Jon,

Jet Reports is a reporting tool: http://www.jetreports.com/

They connect to different databases and pull data to create reports in Excel.

I hope that clarifies better.

Thank You

0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 10

Accepted Solution

by:
Jon von der Heyden earned 500 total points
ID: 35093489
Sounds like I was going in the right direction.  Download the installation guide for Jet Reports and see page 16.
On the Connection tab, you can specify where your data is located and how to connect to it.  The fields displayed on this tab depend upon the OLE DB Provider selected.  For example, if you select the OLE DB Provider for Oracle, the Connection tab displays fields for the server name and login.  If you select the OLE DB Provider for SQL Server, then the server name, type of authentication, and database must be furnished.
Here's the guide
0
 

Author Comment

by:FABRICIO76
ID: 35093505
Hello Jon,

But I dont see where in that TAB I can enter some Pl/SQL.

We are connected to the DB succesfully but the problem is that we need to also initialize session to the actual application.

What do you think?

Thanks in advance



0
 
LVL 10

Expert Comment

by:Jon von der Heyden
ID: 35094018
I'm out of my depth here because I don't know Jet Reports.  I had a bit of a browse on the web and I see that there are two different types of licenses.  One is viewer another is designer.  Designers appear to be given a control called 'Design'.  I wonder if one sets up the query in there.  I couldn't find any references for setting up queries with SQL.  I did however read that reports can be linked to stored procedures but I couldn't find examples how.

Sorry I can't be more helpful.
0
 

Author Comment

by:FABRICIO76
ID: 35094032
Thanks a lot Jon anyway, I can see this one is a tricky one!!!
0
 

Author Comment

by:FABRICIO76
ID: 35175074
Hello,

Just to let you know that our customer was discussing with Jet Reports in paralel and they will include such functionallity in the mid term.
Thanks for you help
0
 

Author Closing Comment

by:FABRICIO76
ID: 35175076
Jet report will include thia fubctionallity in the future
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now