serialno group wise in report [message #153717] |
Tue, 03 January 2006 20:29 |
ashok_it
Messages: 40 Registered: November 2005 Location: Singapore
|
Member |
|
|
hi,
i struggle with generation serial no in reports 6. sno is non database field.
i used place holder colum. but can't get correct output.
i want output like that
deptno sno name
10 1 xxxxxxx
2 xxxxxxx
3 xxxxxxx
20 1 xxxxxxx
2 xxxxxxx
tkanks advance your help
Tks
ashok
|
|
|
|
Re: serialno group wise in report [message #153780 is a reply to message #153770] |
Wed, 04 January 2006 02:30 |
ashok_it
Messages: 40 Registered: November 2005 Location: Singapore
|
Member |
|
|
hi Safeeq ,
Thanks for your reply.
step 1:
1. created cp_1
2. wrote pl sql editor for cp_1
:cp_1 := nvl(:cp_1,0) + 1
3. in layout model selected deptno group repeating frame
pl/sql editor
:cp_1 := 0; -- but suppose can't assign output
--variable here.
pls help me how to reset the cp_1 column.
tks
ashok
|
|
|
|
|