Re: Enable and disable buttons in a database block
Date: Wed, 23 Jul 2003 00:24:04 GMT
Message-ID: <EAkTa.120620$Ph3.15754_at_sccrnsc04>
Just One More Thing...
You Might want to Consider Changing the way the Form Works.. Instead of
Having, for instance,
ten Detail Buttons, and enabling only the Ones that Have Details, Have One
Large "Show Item Details"
Button, set the Number of Items Displayed Property to 1 for this Item, and
on a When-New-Record
trigger use the Set_Item_Property(Detail_button, ENABLED, Prop_TF). It sets
all Instances of the Item
to Enabled/ Disabled, but since only one is Displayed, it correlates to the
One in Question. It would keep
everything simple and Contained to One Block and One Trigger...
Aaron V.
"Manikandan" <member12054_at_dbforums.com> wrote in message
news:3132646.1058765277_at_dbforums.com...
>
> Hi,
> The number of rows in a block will be varying at run time based on
> the number of rows in a table.So how will i determine the number of
> buttons at run time?
>
> --
> Posted via http://dbforums.com
Received on Wed Jul 23 2003 - 02:24:04 CEST