Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old June 16th, 2004, 06:05 AM
hudo hudo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 97 hudo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 23 m 19 sec
Reputation Power: 5
Report 10g in Web Browser

Hello,
I used to develop with Forms 6i, now I'm using Forms 10g (from Oracle Developer Suite 10g).
By pressing a button within a form, I'd liked to see the respective report in the webbrowser.
Here is the code how it was implemented with Forms 6i:
--------------------------------------------------------
PROCEDURE call_rep_datesearch IS

para_id_form PARAMLIST;
para_id_rep PARAMLIST;

--p_sessionid NUMBER;

BEGIN
para_id_rep := GET_PARAMETER_LIST('ein_param');
--
IF NOT ID_NULL(para_id_rep) THEN
DESTROY_PARAMETER_LIST(para_id_rep);
END IF;
--
para_id_rep := CREATE_PARAMETER_LIST('ein_param');

ADD_PARAMETER(para_id_rep,'p_starttime',TEXT_PARAMETER,TO_CHAR(:SEARCHFIELD.STARTDATE,'dd.mm.yyyy')) ;
ADD_PARAMETER(para_id_rep,'p_endtime',TEXT_PARAMETER,TO_CHAR(:SEARCHFIELD.ENDDATE,'dd.mm.yyyy'));

-- Ask for parameters: NO or YES
ADD_PARAMETER(para_id_rep,'PARAMFORM',TEXT_PARAMETER,'NO');
-- ADD_PARAMETER(para_id_rep,'PARAMFORM',TEXT_PARAMETER,'YES');

RUN_PRODUCT(REPORTS,
'rep_datesearch.rep',
SYNCHRONOUS, RUNTIME,FILESYSTEM ,para_id_rep, NULL);
--DELETE REPORT_TABLE WHERE id = p_sessionid;

--FORMS_DDL('COMMIT');

NULL;
END call_rep_datesearch;
---------------------------------------------------

What has to be changed ?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Report 10g in Web Browser


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway