Home » Developer & Programmer » Forms » Message for Maaher
Message for Maaher [message #82432] Mon, 26 May 2003 08:21 Go to next 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
Is possible but not on record level - must be block level or must have other cause [message #82437 is a reply to message #82432] Tue, 27 May 2003 01:47 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Well, it is possible that the item isn't enterable and that you haven't set anything else. This means however, that the item will be disabled in all record instances, right? You cannot change the enabled property on instance level (as you have noticed yourself). You could emulate it by using the Set_Item_Instance_Property like you did AND (I haven't thought of it before) using a PRE-TEXT-ITEM trigger on the items you want to disable. In this trigger you put code like:
Begin
  If condition_is_not_met_item_must_be_disabled Then
    <B>RAISE Form_Trigger_Failure</B>;
  End If;
End;
MHE
Previous Topic: virtual directors
Next Topic: error in coding...
Goto Forum:
  


Current Time: Thu Mar 28 20:56:40 CDT 2024