Help with Oracle Report Builder and SQL Server2000
Hey guys,
I just installed it Oracle Developer Suite10g with Report Builder and I am trying to use Report builder and wants to connect with SQL Server 2000. The problem that I am running in to is SQL Server 2000 i have is Window Authentication so Does not required to enter user name and password. So how can i connect my report builder to SQL server or is it possible to connect Report builder to SQL server?
Also, I want to create small practice version of database in Oracle how do i do it? what i mean by that is I installed trial version or Oracle developer 10g from www.oracle.com and now trying to get some knowledge with oracle. Could any one can give me some direction in this matter please.
Thank You
Key
Have a look at the reports help for the purpose header and trailer sections. Here is an exert:
"Report sectioning enables you to define multiple layouts in the same report, each with a different target audience, output format, page layout, page size, or orientation. You can define up to three report sections, each with a body area and a margin area: the names of the sections are Header, Main, and Trailer. By default, a report is defined in the Main section. In the other sections, you can define different layouts, rather than creating multiple separate reports. If you wish, you can use the margin and body of the Header and Trailer sections to create a Header and Trailer page for your reports."
Similar Messages
-
Oracle reports builder and Win7 aero theme
Hi,
I did sucessfully instaled Oracle reports builder 10gR2 (e.g. Oracle Developer Suite 10gR2 and patch 10.1.2.3) on Win7 x64 Enterprize. There was a few workarounds, but it is now ok.
Everything works just fine now, but that blink and baloon message that came on change of color sheme to Windows classic is annoying! Every time I run the Report Builder, windows is forced to change the Aero scheme ti Classic. OK, I figgured out, that if I do not use Aero, this is not an issue anymore. For me it's ok, but other developers in our company will not be glad :)
The same problem persist at Oracle SQL developer, but there is a solution for it with little change in "sqldeveloper.conf" file "AddVMOption -Dsun.java2d.noddraw=true" .
Is there any similar setting for Report builder too?
I would be werry appreciated.
Thanks.Hello,
Have you used 64-bit binaries?
Here are the steps that you need to make sure you have accomplished themL
1- JDK 64 bits to be used
2- wls1036_generic.jar (java -jar wls1036_generic.jar) or wls1035_generic.jar . It is mandatory to use java from a 64 bits distribution. Using java 32 bits will cause problems.
3- ofm_frmrpts_win_11.1.2.0.0_64_disk1_1of1.zip
An workaround is offered in the following thread:
Oracle Reports 11g installation problem
regards,
Alex
If the answer helped, please mark it accordingly. -
Requirement with Oracle report builder
Hi All,,
I had a requirement like this...i am very new to Oracle report builder tool and Oracle APPS
i need to develop a sample report in this format.......please help me
which tables i need to use??
i know how to create user parameters,field columns...etc i have 50% knowledge on Oracle report builderYou can make start with
Oracle Reports Tutorial...
Here few link...
1. Tutorial 1
2. Basic--[2] Oracle Reports 10g Tutorials
3. About Oracle Report 10g: Triggers in Report Data Source and Report Style
Hope this helps
hamid -
Interfacing of oracle report builder and java
hi all,
I have build a report using Oracle Report Builder 10g.Now i want to make use of this report in displaying the data in IE using core java.
This is the first time i am using the Oracle Report Builder .
Can anyone tell me how to proceed in right direction?Do i need to have some specific Jar,Environment to accomplish this task?
Thanks in advanceI'm not sure what version of the product you're using, but since you're just installing it may well be the base version (6.0.8.8.3).
Similar issues were addressed in a patch release (6.0.8.12), which was related to issues with some types of keyboard. You may want to upgrade to the latest patch release and retry. -
HELP with Oracle Reports 6i - user parameters .....
Hi, i have made a form with button in Oracle Forms 6i.
When i press the button it fires trigger (when-button-pressed) where i declared and made parameter (:p_dep_no) which i want to sedn to report and later query report with this (:p_dep_no) ...
In Oracle report i made this parameter under user parameter and made my SQL statemet where i included in where clause my parameter (:p_dep_no) .
When i run oracle forms and press this button i get popup screen which asks me to enter this user parameter....
My question is - how i can make it all automaticly ... that i didn't need to write (:p_dep_no) manualy, but report could get this parameter from oracle forms and then show me only queried report ....
Plz helpi have similar code already wroten to button, but when i push button and report is opening, i get popup report parameter form screen and it asks me to write parameter value....
here i have (when-button-pressed) code :
declare
pl_id ParamList;
begin
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'par_report',TEXT_PARAMETER, :registry_id);
RUN_PRODUCT(REPORTS, 'C:\Oracle\DS6i\BIN\reg_atskaite_vienam.rdf',SYNCHRONOUS,runtime,FILESYSTEM,'pl_id',null);
end; -
Need help with Oracle reports 10g
Hi
we have a requirement in a oracle 10g application
this application is on the unix server
the requirement is such that the user must be able to print a report directly to the default printer
when the user clicks on the button a report must be printed on the users default printer
can u help us understand that how can we configure the local printer of the user on the unix server?hi, piyush9010
Check this following link...
Oracle reports 10g output directly to printer
Oracle reports 10g output directly to printer
Make your printer as shared printer then try.
Use DESTYPE=PRINTER.
http://qamarsyed.blogspot.com/2011/02/how-to-print-oracle-report-to-network.html
http://docs.oracle.com/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i637246
Hope this helps
If someone's response is helpful or correct, please mark it accordingly. -
Help with Oracle Entity Framework and synonyms
Hi.
I have some troubles using schemas and synonyms of tables. It means that we are working with diferent schemas, one of those is the owner of tables and other one use synonyms with permissions to access, modify and delete in these tables, this one is the schema that the application use. So whats the way to use this synonyms to tables using the application schema with Entity Framework?
While I'm using the application data schema I couldn't get data from tables, because the application schema doesn't have tables just use synonyms to them.
Thanks in advanced
Cesar.I have the same problem. I have created a data connection in the VS2010 server explorer to my oracle database. In the filter I have added the schemas that my user id has access to and the tables are shown in the server explorer. However, when I go through the ADO.NET entity wizard, the tables are not shown.
-
Dear all;
Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
create or replace package test1 is
type r_cursor is ref cursor;
function report(company_name in varchar2) return r_cursor;
end test1;
create or replace package body test1 is
function report(company_name in varchar2) return r_cursor as
my_r_cursor r_cursor;
begin
if(company_name = 'ALL COMPANIES') THEN
open my_r_cursor for
select t.t_id, t.t_description from t1 t;
return my_r_cursor;
elsif(company_name != 'ALL COMPANIES') THEN
open my_r_cursor for
select t.t_id, t.t_description from t1 t
where t.t_id = company_name;
return my_r_cursor;
end if;
end;
end test1;
create table t1
t_id varchar2(200) not null,
t_description varchar2(250),
primary key(t_id)
insert into t1
(t_id, t_description)
values
('CITI', 'PROFIT: 2.2Billion');
insert into t1
(t_id, t_description)
values
('GE', 'PROFIT: 1Billion');
insert into t1
(t_id, t_description)
values
('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.Hi,
first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
so first you create your package
create or replace package test1
as
TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
, company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
end test1;
show errors
create or replace package body test1
is
procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
is
my_r_cursor T_REF_CURSOR;
begin
if(company_name = '1')
THEN
open my_r_cursor for
select 1 as t_id, 'description' ast_description from dual
else
open my_r_cursor for
select 2 as t_id, 'description2' as t_description from dual
end if;
end;
end test1;
show errors
then, in your report you create a ref cursor query :
function QR_1RefCurDS
return test1.t_ref_cursor
is
C_return test1.t_ref_cursor;
begin
test1.report(1,C_return);
RETURN(C_return) ;
end;
hope this helps you !
E -
Oracle Reports Builder X Oracle Portal - Integration
Hi everybody
I've created some reports with Oracle Reports Builder. Then I saved them as a JSP file.
I can view these reports in a normal WEB page, without problems. All that I need is to call the page with the parameters.
Now I need to deploy this report as a portlet, inside the Oracle Portal.
So, I've read the document "Publishing Reports to the WEB" (http://otn.oracle.com/products/reports/htdocs/getstart/docs/a92102_01.pdf) and I've followed the steps to run the report (JSP file) as a Portlet.
I've done the following:
- I've created a Database Provider
- I've created the "Report Server Access"
- I've created the "Report Definition File Access"
Until this point, everything is ok, I can "Run" and "Run as a Portlet" the report.
So, in the next class, "Adding the Report Portlet to a Page" (Page 8-8), the report portlet simply doesn't appear in the Portal DB Provider to wich it belongs!!! :-(
Has someone had this kind of problem?
Any hint will be welcome!
P.S: The Oracle Portal, the Application Server, and the Reports Server are in a SUN Machine.
The Portal version is 2 (release 2).
Thanks in advancehi adriano,
here is what you have to do:
1. navigate to the db provider which holds the reports. click
on grant access: check the expose as provider
2. builder - administer - oracle reports security -
edit the reports definition file access you created for
your report.
click on the access tab - check publish to portal.
now you can see your report portlets for selection
in portal.
regards,
christian hi,
I can run the report as portlet but I can't see the "Access" tab under Customize. I know the option "Publish to Portal" is available in other object, but the "Access" tab does not appear in any of the Report Defitinion file acess page. Only "Develop" and "Manager" is available. I'm running on 9iAS R1.02.2.2a.
Thanks
Vincent -
Help with Oracle PL/SQL and Objects...
Hi,
I wonder if you can help me, I am having some trouble dealing with Oracle objects in PL/SQL. I can declare them, populate them and read from them without any issues.
But I am having some problems with trying to copy records in to other records of the same type, and also with updating existing records. I've made a mock up piece of code below to explain what I mean, it may have a few mistakes as I've written it in notepad but should be reasonably clear.
First I have created a record type, which contains attributes relating to a person.....
CREATE OR REPLACE
TYPE PERSON_RECORD_TYPE AS object (
Person_ID NUMBER(3),
Person_Name VARCHAR(20),
Person_Age NUMBER(2),
static function new return PERSON_RECORD_TYPE );
CREATE OR REPLACE
TYPE BODY PERSON_RECORD_TYPE as
static function new return PERSON_RECORD_TYPE is
BEGIN
return PERSON_RECORD_TYPE (
NULL,
NULL,
NULL,
NULL,
NULL
END;
END;
Then I have created a table type, which is a table of the person record type......
CREATE OR REPLACE
type PERSON_TABLE_TYPE as table of PERSON_RECORD_TYPE;
Finally I have created a procedure which recieves an instance of the person table type and reads through it using a cursor.....
PROCEDURE ADMIN_PERSON (incoming_person IN PERSON_TABLE_TYPE)
IS
-- This is a local record declared as the same type as the incoming object
local_person PERSON_TABLE_TYPE;
-- Cursor to select all from the incoming object
CURSOR select_person
IS
SELECT *
FROM TABLE ( cast (incoming_person AS PERSON_TABLE_TYPE));
BEGIN
-- Loop to process cursor results
FOR select_person_rec IN select_person
LOOP
/* Up to this point works fine...*/
-- If I want to store the current cursor record in a local record of the same type, I can do this....
local_person.person_id := select_person_rec.person_id;
local_person.person_name := select_person_rec.person_name;
local_person.person_age := select_person_rec.person_age;
-- QUESTION 1
-- The above works fine, but in my real example there are a lot more fields
-- Why cant I set the local record to the value of the cursor record like this below..
local_person := select_person_rec;
-- The above line gives a pl/sql error - expression is of wrong type, (as far as I can see the records are of the same type?)
-- QUESTION 2
--Also how do you update an existing record within the original object, I have tried the following but it does not work
UPDATE incoming_person
SET age = (age + 1)
WHERE incoming_person.person_id = '123';
-- The error here is that the table does not exist
END LOOP;
END;
So I hope that you can see from this, I have two problems. The first is that I can store the current cursor record in a local record if I assign each attribute one at a time, but my real example has a large number of attributes. So why can't I just assign the entire cursor record to the local cursor record?
I get a PL/SQL error "Expression is of wrong type" when I try to do this.
The second question is with regards to the update statement, obviously this doesn't work, it expects a table name here instead. So can anyone show me how I should update existing person records in the incoming table type to the procedure?
I hope this makes sense, but I don't think I have explained it very well!!
Any help will be gratefully recieved!!
ThanksI understand why you are having trouble - my own brain started to hurt looking at your questions :)
First off, database types are not records. They can act like records but are "objects" with different characterstics.
You can create a record in PL/SQL but the "type" is of RECORD. You created an OBJECT as BODY_PERSON_RECORD_TYPE.
I don't use database types unless I really need them, such as for working with pipelined functions.
-- QUESTION 1
-- The above works fine, but in my real example there are a lot more fields
-- Why cant I set the local record to the value of the cursor record like this below..
local_person := select_person_rec; local_person is set to the (misnamed) BODY_PERSON_RECORD_TYPE, while SELECT_PERSON_REC is anchored to the cursor and is a RECORD of SELECT_PERSON%ROWTYPE with a field for each column selected in the query. Different types, not compatible.
You should be able to manually assign the object items one by one as object.attribute := record.field one field at a time.
-- QUESTION 2
--Also how do you update an existing record within the original object, I have tried the following but it does not workCheck the on-line documentation for the syntax. You'll probably have to reference the actual value through the table; this is one reason why I don't work with nested tables - the syntax to do things like updates is much more complex. -
Oracle Reports 6i and the Dynamic SQL
I use Oracle 8.1.7 and Oracle Reports 6i Builder;
My problem is that I am trying to obtain dataset for the report via stored procedure (using ref cursor). As far as I understand I must specify strongly typed refcursor in my package (specify record type based of which the ref cursor will be created, not just ref cursor without any return specification). But when it comes to my stored procedure implementation, here I would like to use dynamically created SELECT statement and since it will be parsed and executed at runtime I forced to use only untyped ref cursor to return data from the stored procedure.
TYPE my_refcur IS REF CURSOR;
cv_tmp my_refcur;
v_SQL VARCHAR2(2000);
BEGIN
-- here I set v_SQL ....
OPEN cv_tmp
FOR v_SQL;
RETURN cv_tmp;
END;
But this way I somehow need to convert untyped ref cursor to strongly typed one. This is a problem I would like you to help me with.
Thanks in advise.
By the way, I am not familiar with Oracle Reports 9. Does it still require to return only strongly typed ref cursor from stored procedures?Hello Alexey,
The reason Reports requires strongly typed ref cursors to be returned to it is that, with weak ref cursors the list of columns returned by the cursor cannot be determined at report design time. For a weak ref cursor, the data will be populated based on a query specified only at runtime. As a result, you will not be able to add any layout to your report, since the query group will be empty.
Please take a look at the reply in the post below on the same topic, for a method to retrieve data from a stored procedure returning a weakly typed ref cursor:
Re: Reports On Ref Cursor
Thanks,
Srivas.
The Oracle Reports Team. -
Query Engine report error with Crystal Report 9 And MS SQL SErver 2000
Hi,
Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
"Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
Can any One check any pblm with this query
ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14
BEGIN
IF ISNULL(@intSchemeID,0) <> 0
BEGIN
Select* From table
END
ELSE IF ISNULL(@intSchemeID,0) = 0
BEGIN
Select
END
END
When I comment the above codes , report works fine....
Can any one help me....plz....I m in such a critical situation...Hi,
Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
"Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
Can any One check any pblm with this query
ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14
BEGIN
IF ISNULL(@intSchemeID,0) <> 0
BEGIN
Select* From table
END
ELSE IF ISNULL(@intSchemeID,0) = 0
BEGIN
Select
END
END
When I comment the above codes , report works fine....
Can any one help me....plz....I m in such a critical situation...
Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
select ''
--or
select 0
--or
select null
Regards, RSingh -
How to use LIKE function with a parameter in Oracle REPORT builder??
how could i use parameter inside a LIKE function in Oracle reports builder?
it works in SQL plus, but not in report builder!!
Example:
select code,desc from item_master where desc
like '%&give_desc%'; ---works in SQL
like '%:give_desc%' ---doesn't work in report builder!!Hi Renil,
You will need to use the wildcard character (%) and the concatenation character (||) to join to your user parameter.
i.e. like '%'||:give_desc||'%'
Regards,
John -
Help forum for oracle report builder
Dear all;
I have searched all over the oracle website but I cant find a forum for oracle report builder. All help is appreciated.Try this forum:
Reports -
Getting a report in excel format from oracle report builder 10gDS release2
I want to get a report in excel format from oracle report builder 10gDS release2.
Is there ne method by which minimum effort is required for changing already made reports .
I have searched for it on internet :-
http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
Example, given in the last of the page opened from the above url, is not working.
Can neone plz explain the example and how to use it
Thanks & Regards
JDOk, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
declare
pl_id ParamList;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
v_rep_status VARCHAR2(20);
v_repsrv VARCHAR2(100):= 'yourreportserver';
v_serv varchar2(50) := 'yourservername' ;
begin
pl_id := Get_Parameter_List('tmpdata');
if not id_null(pl_id) then
Destroy_Parameter_List( pl_id );
end if;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
repid := FIND_REPORT_OBJECT('yourreport'); SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
set_report_object_property(repid,REPORT_DESTYPE,CACHE );
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
end;
I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
The rest remains untouched.
Hope it helps.
Maybe you are looking for
-
How to implement F4 help in table control
Hi all, I am working on a table control in a module pool program. I have three fields in table control , material no. , material description and quantity. my requirement is , in table control , i need to provide the F4 help for material no. and mater
-
ERROR in creating a Physical Standby Database
Hello all, I am using a Windows Vista O/S and Oracle 10g Enterprise Edition. Both my primary and standby are on the same host. Created standby instance using oradim. I have followed instruction in the documentation and created a manual standby databa
-
READ This if you have a Yahoo email access issues on iPhone
It's just (10:53) been confirmed to me over the phone with 02 iPhone support that there is an email server down at Yahoo which is affecting iPhone email access for accounts set up on your iPhone with the Add Account - Yahoo Mail wizard. There is NO e
-
How can I select and delete messages without T'bird opening each one as it is selected?
Well, that says it.... if I select a message, say, to delete it because the subject line says "If you open this message, your computer will be instantly infected with every known malware" - - woops! the Thunderbird setup just opened it. -- I need to
-
Why isn't my IPad 2 volume going In and out? Sometimes the volume squares won't come up and when I have headphones in it doesn't work the volume will work for 1 second amd then boom it's gone again! I've tried updating, restarting, and the mute botto