Home » Developer & Programmer » Forms » URGENT ... URGENT !: how to Enable/Desable one recored in my block-
URGENT ... URGENT !: how to Enable/Desable one recored in my block- [message #82417] Mon, 26 May 2003 03:47 Go to next message
Lot
Messages: 4
Registered: May 2003
Junior Member
pls help me.its urgent..
Can anybody guide me in how to enable/desable one record (line) in a block that contain 5 records.
thankx
Re: URGENT ... URGENT !: how to Enable/Desable one recored in my block- [message #82422 is a reply to message #82417] Mon, 26 May 2003 04:16 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
In the post-query of the block trigger, evaluate and use the SET_ITEM_INSTANCE_PROPERTY(item, ENABLED, PROPERTY_TRUE/PROPERTY_FALSE) built-in.

MHE
hi maaher [message #82424 is a reply to message #82422] Mon, 26 May 2003 04:51 Go to previous messageGo to next message
Lot
Messages: 4
Registered: May 2003
Junior Member
hi maaher
thank u fro reply
SET_ITEM_INSTANCE_PROPERTY doesn't work with ENABLED property
pls i need an another solution
thanks a lot.
lotfi
Re: hi maaher [message #82426 is a reply to message #82424] Mon, 26 May 2003 06:51 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
True, Set_Item_Instance_Property *IS* limited, but it can work however:
You can simulate it with:
- UPDATE_ALLOWED
- INSERT_ALLOWED
- VISUAL_ATTRIBUTE (for the appearance)
Create two visual attributes:
-VA_Enabled
-VA_Disabled
that you can use in the trigger to change the appearance.

The only difference would be that the item is enterable. This isn't such a major drawback IMHO.

MHE
maaher : exactly not entrable [message #82431 is a reply to message #82426] Mon, 26 May 2003 08:08 Go to previous message
Lot
Messages: 4
Registered: May 2003
Junior Member
OK,
UPDATE_ALLOWED,INSERT_ALLOWED,VISUAL_ATTRIBUTE are defined on the block, and all items inhirit propertys from the block.
i like that the item is not entrable. it's possible ???

thanks a lot

LOT
Previous Topic: Forms 6i Web test
Next Topic: Help..
Goto Forum:
  


Current Time: Tue Apr 23 23:02:28 CDT 2024