Re: Make items visible/Invisible in ENTER_QUERY mode
Date: Tue, 23 Jul 2002 01:54:25 GMT
Message-ID: <lH2%8.383$YR5.43132_at_news1.telusplanet.net>
Thanks,
[Quoted] Yes I am aware of restricted/unresctricted. To do this, actaully I have tried all related properties. But it still does not work.
First I set the property in a when-button-pressed trigger,
[Quoted] set_item_property('well.well_le', visible, property_false);
Then I set the following properties in another when-button-pressed trigger.
set_item_property('well.well_le', visible, property_true); set_item_property('well.well_le', enabled, property_true); set_item_property('well.well_le', update_allowed, property_true); set_item_property('well.well_le', insert_allowed, property_true); set_item_property('well.well_le', query_allowed, property_true);
Any ideas/suggestions? I think the problem is with the ENTER_QUERY mode.
Thanks again.
Sheldon
"Keld Nielsen" <keldnielsen_at_image.dk> wrote in message
news:SwZ_8.33803$Yf1.1397312_at_news010.worldonline.dk...
> perhaps not the most obvious insert statement
> I have made in my life.
> so here again ... sorry
>
> "Keld Nielsen" <keldnielsen_at_image.dk> wrote in
> message
> news:vmZ_8.33799$Yf1.1395083_at_news010.worldonline.d
> k...
> > pls. see inserted ...
> >
> > "Sheldon Wang" <sheldonwang_at_shaw.ca> wrote in
> > message
> >
> news:yOk_8.15632$8D4.437244_at_news2.telusplanet.net.
> > ..
> > > Hi,
> > >
> > > I have some base table items in my form. Based
> > on a condition in a
> > > RadioGroup, I have to hide/show some items in
> > ENTER_QUERY mode. To do this,
> > > I use set_item_property like the following,
> > >
> > > to make it visible,
> > >
> > > set_item_property('well.well_lsd', visible,
> > property_true);
> > >
> > > to make it invisble,
> > >
> > > set_item_property('well.well_lsd', visible,
> > property_false);
> > >
> > > However if an item was made invisible
> previously
> > and then was made visible
> > > again, I cannot access the item (say using
> mouse
> > or keys) even though I set
> > >
> > > set_item_property('well.well_lsd', enabled,
> > property_true);
> > > set_item_property('well.well_lsd', updateable,
> > property_true);
>
>
> ,UPDATE_ALLOWED and not 'updateable' <----
>
>
>
> and I'm sure you are aware of
> restricted/unrestricted ...
>
>
> > >
> > > All the above operations are in ENTER_QUERY
> > mode.
> > >
> > > Any help will be appreciated.
> > >
> > > Sheldon Wang
> > >
> > >
> >
> >
>
>
Received on Tue Jul 23 2002 - 03:54:25 CEST