Re: f45 block property

From: RUSSELL HERBERT <russell.herbert_at_UK.sun.com>
Date: Tue, 20 Jul 1999 14:43:11 +0100
Message-ID: <37947CEF.EB8B4F44_at_UK.sun.com>


Isaias Gutierrez wrote:
>
> Try setting the records displayed property to 5 or less, but add a
> scrollbar, which is also in the block properties sheet.
>
> Richard Morris <richard.morris_at_virgin.net> wrote in message
> news:7mpj43$qrn$1_at_nclient1-gui.server.virgin.net...
> > I'm developing my first ORACLE application using developer 2000 / forms
> 4.5
> > which is a system for our IT service desk.
> >
> > Is it possible to programatically set the "records displayed" block
> > property? ie if this property is set to 15, and a query returns only 5
> rows,
> > then is there any way of avoiding the 10 empty rows on the form?
> >
> > Thanks in anticipation,
> > Richard.
> >
> >
Perhaps you should create a block with the maximum number of rows you imagine you could need. Then when the query retunrs the data, you could cover over unwanted rows with a stacked canvas. It's kind of messy but it will work.

-- 

_/_/__/_/__/_/__/_/__/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
                                                                   
     /\        Russell
Herbert                                                                   
     \ \       Sun Microsystems Ltd.      
    \ \ /      Camberley                             
   / \// /     Surrey                                       
  / /  \//\    GU15 3XD     
  \//\  / /    United Kingdom      
   / //\ /     Tel:      (44) 01276 689341     
    / \ \      Fax:      (44) 01276 677636 
     \ \       Internet: http://www.sun.co.uk 
      \/       E-mail:   russell.herbert_at_uk.sun.com

_/_/_/_/_/_/_/_/_/___/_/__/_/__/_/__/_//_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Received on Tue Jul 20 1999 - 15:43:11 CEST

Original text of this message