reports 10g nag
TRANSCRIPT
-
8/12/2019 Reports 10g Nag
1/89
Reports 10g
Development of Report through wizard
Double click on Report Builder which is on Desk Top
Click on ok to develop the report through wizard(ere Report
output format will be generated b! s!stem itself"#
-
8/12/2019 Reports 10g Nag
2/89
-
8/12/2019 Reports 10g Nag
3/89
Click on $e%t
-
8/12/2019 Reports 10g Nag
4/89
Enter Title is Employee Details and Click on Next
-
8/12/2019 Reports 10g Nag
5/89
Click on Next
Select Connect Button
-
8/12/2019 Reports 10g Nag
6/89
Enter the above DetailsClick on Connect and Next
-
8/12/2019 Reports 10g Nag
7/89
-
8/12/2019 Reports 10g Nag
8/89
Click on $e%t
-
8/12/2019 Reports 10g Nag
9/89
Click on $e%t
-
8/12/2019 Reports 10g Nag
10/89
Click on $e%t
-
8/12/2019 Reports 10g Nag
11/89
Click on $e%t
Click on 'inish#
The output will be generated as below format# ere all fieldswere selected so that output has been generated for all fields#
-
8/12/2019 Reports 10g Nag
12/89
$ote)
*f we want to see the Data +odel , selct Data +odel button from
top of the menu bar
-
8/12/2019 Reports 10g Nag
13/89
-imilarl! *f we want to see the .a!out +odel,selct .a!out
+odle button from top of the menu bar
-
8/12/2019 Reports 10g Nag
14/89
-imilarl! *f we want to see the /bect $avigator press ' to see
the obects which are created#
-
8/12/2019 Reports 10g Nag
15/89
-
8/12/2019 Reports 10g Nag
16/89
Development of Report through +anuall!
Double Click on Report Builder which is on desk top#
-elect a button called build new report manuall!
Click on /k#
Click on -2. 2uer! button from left side the menu
bar
-
8/12/2019 Reports 10g Nag
17/89
3gin click on Right side of the canvas
4rite a following statement in the s&l &uer! statement#
-
8/12/2019 Reports 10g Nag
18/89
Click on Connect Button#
5ive 6ser $ame is apps
7ass word is apps
Data Base is vis
Click on Connect Button#
Click on /8 Button#The data model will be create like below shape#
-
8/12/2019 Reports 10g Nag
19/89
3gin Click on 97aper .a!out: from top of the +enu
Bar#
-
8/12/2019 Reports 10g Nag
20/89
5o to Tools +enu from top of the +enu bar#
Tools/ptionsRulers
-
8/12/2019 Reports 10g Nag
21/89
-elect 9Character cells: and click on ok#
-
8/12/2019 Reports 10g Nag
22/89
-
8/12/2019 Reports 10g Nag
23/89
Take 9Repeating 'rame: and 9'ields: and 9Te%t:(6sed
to displa! wording" with in the 9frame: as designed below#
'rame
Repeat
ing'rame
'ields Te%t
-
8/12/2019 Reports 10g Nag
24/89
-elect 9'rame: press ';# set the properties as below
mentioned#
-imilarl! select the 9Repeating 'rame: and press';#set the properties as below mentioned#
$ote ) The 3bove source is setted based on the data
modele group name#
Double click on fileds and set the each field with
different column names#
-
8/12/2019 Reports 10g Nag
25/89
5o to 7rogram -elect Run paper .a!out#
-ource
-
8/12/2019 Reports 10g Nag
26/89
-
8/12/2019 Reports 10g Nag
27/89
Click on /k#
=nter the user name ,password and database
-
8/12/2019 Reports 10g Nag
28/89
-
8/12/2019 Reports 10g Nag
29/89
Click on /k#?
Design the la!out as per below process
-
8/12/2019 Reports 10g Nag
30/89
The above has been designed for previous report#
Run the Report ToolsRun the paper la!out and enter the
values and see the output#
.e%ical 7arameter#
)))))))))))))))))))))))
Double click on report builder which is on desktop
-elect build report manuall!
-
8/12/2019 Reports 10g Nag
31/89
-
8/12/2019 Reports 10g Nag
32/89
Click on /bove @ button
-elect 96ser parameters: and Click on @(5reen color" obect#
-
8/12/2019 Reports 10g Nag
33/89
*t displa!s below like this
5reen color obect
-
8/12/2019 Reports 10g Nag
34/89
7ress (';" or (Double click" on 7A1
-et the following below properties
Close the child window#
-
8/12/2019 Reports 10g Nag
35/89
-
8/12/2019 Reports 10g Nag
36/89
-elect 9-2. 2uer!: button from left side the menu bar#
Data model obect
-
8/12/2019 Reports 10g Nag
37/89
Drop on the canvas and write the below statement as it is#
-
8/12/2019 Reports 10g Nag
38/89
Click on /k button#
5ive the username,pass word ,data base details as below
mentioned#
Click on connect#
click on 97aper la!out 9 button from top of the menu bar
-
8/12/2019 Reports 10g Nag
39/89
5oto toolsoptionsRulersChatector cellsok
-
8/12/2019 Reports 10g Nag
40/89
Design the la!out as per previous report designment#
-
8/12/2019 Reports 10g Nag
41/89
Run the Report to see the output#
-
8/12/2019 Reports 10g Nag
42/89
=%ample 'or .e%ical 7arameter(6sing ofter from clause"
)))))))))))))))))))))))))))))))))))))))))))
Develop the Report using
-elect empno,ename,sal,deptno from emp =?
Design the la!out and pass the 9where condition: in the
parameter window#
-!stem 7arameters
))))))))))))))))))))
-!stem 7arameters are used to transfer report
output to the client location or corporate office location#
/pen the Report builder which is on desktop
)
-elect a button called build a new report manuall!#
-
8/12/2019 Reports 10g Nag
43/89
-elect -2. 2uer! button from left side the menu bar#
3nd write following 9select: -tatement and enter the
username,pass word ,data base and click on connect and ok#
-
8/12/2019 Reports 10g Nag
44/89
Click on 9paper la!out 9 from top of the menu bar#
ToolsoptionsRulersChracteres#
-
8/12/2019 Reports 10g Nag
45/89
Design the la!out as below mentioned#
7ress ' 'or obect $avigator#
-
8/12/2019 Reports 10g Nag
46/89
-elect 9-!stem parameters:
Double Click on 9D=-'/R+3T: #5ive the 9initial value: is
9D=.*+*T=D:#
Double Click on 9D=-$3+=: #5ive the 9initial value: is9C=+7AD3T3*.-#%ls:
Double Click on 9D=-TE7=: #5ive the 9initial value: is
9'ile#:#
Double Click on 9+/D=: #5ive the 9initial value: is
9Charectors#:#
Double Click on 9/R*=$T3T*/$: #5ive the 9initial value: is
9.andscap:#Double Click on 97R*$T>/B: #5ive the 9initial value: is
9E=-#:#
5o to programRun the paper la!out#
-ee the output file in C=+7AD3T3*.-#%ls
3dding the .ist of values to the Report
))))))))))))))))))))))))))))))))))))))
This process is to be done to our previous report
-
8/12/2019 Reports 10g Nag
47/89
+odif! the above select statement as per below mentioned#
-elect userparameters
Double click on 7AD=7T$/
-elect .ist of values and write the following &uer! and click on
ok#and close the child window#
Run the Report
-
8/12/2019 Reports 10g Nag
48/89
+aster Details Report
))))))))))))))))))))))))))))))))))))
+aster detail report is used to get the related records between
two tables#
ere Data .ink is used to give link between two data base
tables#
Double click on Report Builder which is on Desktop
-elect a button called build a new report +anuall!
Click on /k#
-elect -2. 2uer! button from left side the menu bar and placeit in canvas
-
8/12/2019 Reports 10g Nag
49/89
4rite a following statement and click on connect button
-
8/12/2019 Reports 10g Nag
50/89
click on ok#
-imilar! select 9-2. 2uer!: button from left side the menu bar
and place it in data model#
Click on /k#
-elect 9Data link: from left side the menu bar#
-
8/12/2019 Reports 10g Nag
51/89
Drag deptno to deptno columns of two data models#
-
8/12/2019 Reports 10g Nag
52/89
Click on paper .a!out from top of the menu bar#
-
8/12/2019 Reports 10g Nag
53/89
5o to ToolsoptionsRulers
-
8/12/2019 Reports 10g Nag
54/89
-elect character cell and click on ok#
-
8/12/2019 Reports 10g Nag
55/89
Design the la!out as mentioned below#
3dding one more data model to above report#
-
8/12/2019 Reports 10g Nag
56/89
select paper .a!out from top of the menu bar#
Design as below mentioned#
-
8/12/2019 Reports 10g Nag
57/89
Report Triggers
)))))))))))))))))
Develop the Report through wizard using 9-elect F from empwhere deptno
-
8/12/2019 Reports 10g Nag
58/89
-
8/12/2019 Reports 10g Nag
59/89
Click on Compile and close#
Double click on 3fter parameter form
Complie and close#
Double click on Befor report trigger#
-
8/12/2019 Reports 10g Nag
60/89
Double click on Between pages
Double click on 3fter Report
-
8/12/2019 Reports 10g Nag
61/89
Compile and close#
save and run the report#
-R4#D/A-2.
)))))))))))))))))6sed to perform DD. /perations#
Develop the report through wizard using
-=.=CT F 'R/+ =+7 4=R= D=7T$/
-
8/12/2019 Reports 10g Nag
62/89
3fter displa!ing report out put ,press f for obect navigatorselect datamodelselect report triggers
Double click on before parameter form
-
8/12/2019 Reports 10g Nag
63/89
-
8/12/2019 Reports 10g Nag
64/89
Double click on after report
5o to programs complieall
5o to programsRun paper la!out to see the firing status#
'ormat Trigger
)))))))))))))))))))))
-
8/12/2019 Reports 10g Nag
65/89
'ormat Trigger is used to displa!s the obect and hide the obect
Develop the Report using -=.=CT =+7$/, =$3+=, -3.,
D=7T$/ 'R/+ =+7 4=R= D=7T$/
-
8/12/2019 Reports 10g Nag
66/89
Take one more 9T=GT: from left side the +enu bar and put it
into la!out as mentioned below#write meesage is 9FFFFF$/
D3T3 '/6$DFFFFFF?
Right Click on 9T=GT: item -elect 7.H-2. =ditor#
-
8/12/2019 Reports 10g Nag
67/89
4rite Below -!nta%#
-
8/12/2019 Reports 10g Nag
68/89
Click on Complie button and close#
Complie ctrl@shift@k?Run the Report?
=nter the invalid deptno 90: see the output#
-
8/12/2019 Reports 10g Nag
69/89
-imilarl! take one more T=GT item for 9=nd of the Report:
Right click on te%t item and select plHs&l editorwrite the
following code#
-
8/12/2019 Reports 10g Nag
70/89
-
8/12/2019 Reports 10g Nag
71/89
-
8/12/2019 Reports 10g Nag
72/89
-=.=CT 9-2. 2uer! 9 button from left side the menu bar#
4rite below statement#
3gain -elect 9-2. 2uer! 9 Button from left side the menu bar#
Click on /k#
-
8/12/2019 Reports 10g Nag
73/89
-
8/12/2019 Reports 10g Nag
74/89
Click on ok#
-
8/12/2019 Reports 10g Nag
75/89
Deisign la!out as mentioned below#
Right click on =+7 .a!out 9'R3+=:and select 97.H-2.
=ditor: write following code#
-
8/12/2019 Reports 10g Nag
76/89
-
8/12/2019 Reports 10g Nag
77/89
Complie and close#
-
8/12/2019 Reports 10g Nag
78/89
-
8/12/2019 Reports 10g Nag
79/89
Conditional 'ormat Trigger
))))))))))))))))))))))))))))))))
Develop the report using -=.=CT=+7$/,=$3+=,-3.,D=7T$/,>/B 'R/+ =+7?
Design the la!out as below metioned#
Roght Click on 9=+7$/: field?
-
8/12/2019 Reports 10g Nag
80/89
4rite the below condition
-
8/12/2019 Reports 10g Nag
81/89
Right click on 9-3.:'ield ,-=.=CT 7.H-2. =D*T/R#
-
8/12/2019 Reports 10g Nag
82/89
Compile and close#
Run the Report to see the output#
-
8/12/2019 Reports 10g Nag
83/89
Displa!ing the logos in the report from tables#
))))))))))))))))))))))))))))))))))))))))))))))))
Create table as below mentioned#CREATETABLECUSTOMER_DETAILS
(CUST_NO NUMBER(2),
CUST_NAME VARCHAR2(30),
CUST_PHOTO VARCHAR2(200));
-
8/12/2019 Reports 10g Nag
84/89
Copy the logos from startsearch*.bmp
Put it into c: Drive
Insert the records into table as below mentioned.
Develop the Report 6sing 9-=.=CT F 'R/+
C6-T/+=RAD=T3*.-:
-
8/12/2019 Reports 10g Nag
85/89
Design the .a!our as mentioned Below#-imilarl! set all
fram,repeating frame and field properties#
after that follow the below mentioined navigation#
-elect C6-TA./5/ ('AI" which is in repeating frame#
7ress ';#
-
8/12/2019 Reports 10g Nag
86/89
-
8/12/2019 Reports 10g Nag
87/89
4rite following code and complie and close and run the report
to see the output#
-
8/12/2019 Reports 10g Nag
88/89
-
8/12/2019 Reports 10g Nag
89/89