|
|
|
Oracle Reports Builder 6i
|
|||
|---|---|---|---|
|
#18+
При запуске отчета из формс (RUN_PRODUCT) возникает окно Reports Background Engine. Есть ли возможность избавится от него или на худой конец скрыть? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.03.2003, 14:22 |
|
||
|
Oracle Reports Builder 6i
|
|||
|---|---|---|---|
|
#18+
Во время выполнения отчета его лучше не убивать, т.к. отчет тогда накроется ;))). А вот после того как пользователь закрыл репорт, то можно и убить это окно. Можно использовать команду host и любой фриварный/самописный убивальщик процессов/приложений. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.03.2003, 14:45 |
|
||
|
Oracle Reports Builder 6i
|
|||
|---|---|---|---|
|
#18+
Problem Description ------------------- Starting reports using a RUN_PRODUCT on Windows platforms starts a Reports Background Engine (RBE). After leaving the forms application the background engine is still running and must be terminated by the user. Solution Description -------------------- This is intendet behaviour. To close the Background Engine programmatically use the Reports Runtime parameter ORACLE_SHUTDOWN. E.g. Perform the following actions to stop the RBE when closing the Forms application: 1) Create a dummy report which only does e.g. a SELECT * FROM DUAL This report has a DESTYPE=FILE and a DESNAME to e.g. C:\TEMP\DUMMY.OUT 2) In the POST-FORMS trigger add the following code: DECLARE pl_id ParamList; BEGIN pl_id := Create_Parameter_List('dummy'); Add_Parameter(pl_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes'); Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO'); Run_product(REPORTS,'<<name dummy rapport>>',SYNCHRONOUS, RUNTIME,FILESYSTEM,pl_id,NULL); END; Explanation ----------- The Report Background Engine runs seperatly from the Forms application and there is no direct relation between these processes. The Forms should signal the RBE that is being closed. When the Form is closed the POST-FORM triggers sends a dummy report to the RBE. Since the ORACLE_SHUTDOWN=Yes parameter is used after running the report the RBE is terminated. A small side-effect of the solution is that a small file (5Kb) is created on the file-system contaning the output of the dummy report. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.03.2003, 14:55 |
|
||
|
Oracle Reports Builder 6i
|
|||
|---|---|---|---|
|
#18+
2 Alexandr Plus: и какие параметры отчета отвечают за появление background engine? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.03.2003, 19:05 |
|
||
|
|

start [/forum/topic.php?fid=52&msg=32129055&tid=1991246]: |
0ms |
get settings: |
9ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
426ms |
get topic data: |
14ms |
get forum data: |
4ms |
get page messages: |
64ms |
get tp. blocked users: |
2ms |
| others: | 217ms |
| total: | 759ms |

| 0 / 0 |
