Geeks Talk

Prepare for your Next Interview




Displaying Data using Forms

This is a discussion on Displaying Data using Forms within the Oracle forums, part of the Databases category; Hello friends , I have to display hourwise diesel issues on a display board using forms6i as front end. If these is no issues for a particular hour i have to ...


Go Back   Geeks Talk > Databases > Oracle

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-02-2008
Contributing Member
 
Join Date: Mar 2008
Posts: 81
Thanks: 14
Thanked 3 Times in 3 Posts
babi_geek is on a distinguished road
Displaying Data using Forms

Hello friends ,

I have to display hourwise diesel issues on a display board using forms6i as front end. If these is no issues for a particular hour i have to display value zero. But in database there will not be any record for that particular hour. So it has become compulsory for me to use join condition as follows.
Select a.dslhours,nvl(b.qty,0)
from
( select dslhours from dsl_displaytime )a
left outer join
( select substr(dsl_time,1,2)dsltime,sum(nvl(dsl_stk_quantity,0))qty
from dsl_stock_ledger
where fillingdate = :disp_date
and dsl_stk_tran_code = 'd_iss'
group by substr(dsl_time,1,2) )b
on a.dslhours = b.dsltime
order by a.dslhours
Is there any better way to write the query than above one from performance point of view? now how to display these twenty four hour values in forms twenty four display fields? is it compulsory to store the result of above query in another table or can we display those values directly on the form?

Please suggest me in detail as i am new to forms.

I am attaching required form screen shot as attachment for clarification purpose.

Regards
Babi
Attached Images
File Type: jpg board.JPG (44.0 KB, 2 views)

Last edited by babi_geek : 03-02-2008 at 12:57 AM.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-04-2008
Contributing Member
 
Join Date: Mar 2008
Posts: 81
Thanks: 14
Thanked 3 Times in 3 Posts
babi_geek is on a distinguished road
Re: Displaying Data using Forms

Hi

Could anyone helpme out this problem?
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Oracle forms 6i Barbie Oracle 1 03-18-2008 05:20 AM
Displaying an interger in float 3roses Java 2 09-10-2007 12:57 PM
Forms 5 and Forms 10g Geek_Guest Oracle 1 08-15-2007 11:37 AM
oracle forms clairemckenna Oracle 0 03-15-2007 08:28 AM
Displaying data in a DataGrid for particular column JobHelper ASP.NET 1 02-26-2007 10:58 PM


All times are GMT -4. The time now is 08:41 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved