Home » Developer & Programmer » Forms » Disable one or two records from a multi record block
Disable one or two records from a multi record block [message #168959] Mon, 24 April 2006 06:40 Go to next message
Shumyla
Messages: 16
Registered: March 2006
Junior Member
I need to disable one or two records from a block of multi records. For this purpose, i tried to use SET_ITEM_INSTANCE_PROPERTY but it works out for Visual Attribute only. Further, I come to know that on PRE-RECORD trigger at block level, it can be achieved, but still it is not working properly.Would anyone help me?

Regards

Shumyla Aziz

Re: Disable one or two records from a multi record block [message #169260 is a reply to message #168959] Tue, 25 April 2006 23:49 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What do you really mean by 'disable'? Set_Item_Instance_Property can turn 'insert', 'update', 'navigable',and 'required' 'on' and 'off'. I suggest that you do it in the Post-Query trigger, especially if you are changing visual attributes. You would also put the Set_Item_Instance_Property calls in any relevant When-Validate-Item and When-Validate-Record triggers.

David
can you send me any example [message #171208 is a reply to message #168959] Tue, 09 May 2006 01:28 Go to previous messageGo to next message
mfa786
Messages: 210
Registered: February 2006
Location: karachi
Senior Member
hi master

thank for your help

sir can you send any exaple code

thanking you

aamir
Re: can you send me any example [message #171220 is a reply to message #171208] Tue, 09 May 2006 01:48 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search the reference manual, there are plenty of examples.

David
Previous Topic: devloper form 6i not connect with oracle 8i & oracle form 6 installation error (merged)
Next Topic: enabling disabling records
Goto Forum:
  


Current Time: Fri Sep 20 09:50:14 CDT 2024