If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > calling reports from forms

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-03, 11:42
vivekg95 vivekg95 is offline
Registered User
 
Join Date: Nov 2003
Posts: 10
calling reports from forms

I have been trying to call my report from form through this code but neither it gives me any error nor its showing any report.

declare
report_id Report_Object;
report_job_id VARCHAR2(100);
BEGIN
report_id:= find_report_object('REPORT5');
report_JOB_ID:=run_report_object(report_id);
END;

Comm Mode : async
desctype : screen
Ex mode: runtime
file name : F:\Docs\Forms\vivek.rdf

report5 is the name of report object in the navigator.

What could be the problem??
Reply With Quote
  #2 (permalink)  
Old 11-25-03, 23:51
satish_ct satish_ct is offline
Registered User
 
Join Date: Nov 2003
Location: Bangalore, INDIA
Posts: 333
Thumbs up

Hi,

Does Your report works fine? Is it fetching the required records ?
__________________
SATHISH .
Reply With Quote
  #3 (permalink)  
Old 11-26-03, 00:11
vivekg95 vivekg95 is offline
Registered User
 
Join Date: Nov 2003
Posts: 10
Yep perfectly !

Quote:
Originally posted by satish_ct
Hi,

Does Your report works fine? Is it fetching the required records ?
Reply With Quote
  #4 (permalink)  
Old 11-28-03, 05:38
shelva shelva is offline
Registered User
 
Join Date: Nov 2003
Location: Rotterdam, Netherlands
Posts: 127
Try using RUN_REPORT(<<filename>>)
Reply With Quote
  #5 (permalink)  
Old 11-28-03, 06:20
vivekg95 vivekg95 is offline
Registered User
 
Join Date: Nov 2003
Posts: 10
Wink

Quote:
Originally posted by shelva
Try using RUN_REPORT(<<filename>>)

RUN_REPORT runs only from report as SRW****N_REPORT and not from form.
Reply With Quote
  #6 (permalink)  
Old 11-28-03, 06:26
shelva shelva is offline
Registered User
 
Join Date: Nov 2003
Location: Rotterdam, Netherlands
Posts: 127
Hey sorry u r right
its ALL_REPORT(<<FIILE NAME>>) from forms

Or in ur method, just give full path of the reports file name
Reply With Quote
  #7 (permalink)  
Old 11-28-03, 07:24
vivekg95 vivekg95 is offline
Registered User
 
Join Date: Nov 2003
Posts: 10
Red face

Quote:
Originally posted by shelva
Hey sorry u r right
its ALL_REPORT(<<FIILE NAME>>) from forms

Or in ur method, just give full path of the reports file name
Never heard of it and neither it works.
Reply With Quote
  #8 (permalink)  
Old 11-28-03, 11:07
shelva shelva is offline
Registered User
 
Join Date: Nov 2003
Location: Rotterdam, Netherlands
Posts: 127
Oye again typing mistake

its CALL_REPORT.. sorry again
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On