how to generate reports dynamically (user-parameter) [message #213104] |
Tue, 09 January 2007 08:51 |
|
hi ,
dears i m new to oracle reports .
can someone help me .
i want to generate a sample report.
i create a data block in form 6i. as
>conn scott/tiger
> data block 'DEPT'-- OF DEPT TABLE.
> then put a button in an control block 'cb'.
put a code in its 'when-button-pressed':
RUN_PRODUCT(REPORTS,'C:\DEPT.RDF',SYNCHRONOUS,RUNTIME,FILESYSTEM, :DEPTNO,NULL);> also generte a report using query 'select deptno,dname,loc from dept' before doing this and save it.OK.
i want to generate a report dynamically as "each time i select "deptno" or insert a "deptno" into the "deptno" field , then a report generate having compelete detail of that particular "deptno" ( including deptno,dname,loc).
can someone help me to do this ?
because i donot know "how to set the properties of user-parameters in data module of report"
please help me. or can someone has sample-example.?
regards.
[Updated on: Tue, 09 January 2007 08:53] Report message to a moderator
|
|
|
|
|
|
|
|
|