Home » Developer & Programmer » Forms » Can we make a particular records line to non editable in Grid (Forms 6i)
Can we make a particular records line to non editable in Grid [message #319870] Tue, 13 May 2008 05:06 Go to next message
gurupatham
Messages: 66
Registered: March 2008
Location: Chennai
Member
Can we make a particular record's line to non-editable in Grid? if So, please tell me how to do it?
Re: Can we make a particular records line to non editable in Grid [message #319882 is a reply to message #319870] Tue, 13 May 2008 05:56 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Although you didn't provide much information, you could try with SET_ITEM_INSTANCE_PROPERTY. I guess you are going to make a decision which record(s) to disable on a certain condition so - this built-in might be helpful.
Re: Can we make a particular records line to non editable in Grid [message #319955 is a reply to message #319882] Tue, 13 May 2008 08:20 Go to previous messageGo to next message
gurupatham
Messages: 66
Registered: March 2008
Location: Chennai
Member
'Set_item_instance_property' is used for single item in a row. But my requirement is to make entire row to non-editable. Is there any build-in like 'set_item_Record_property'.

[EDITED by LF: removed [code] tags from the whole message text]

[Updated on: Tue, 13 May 2008 08:58] by Moderator

Report message to a moderator

Re: Can we make a particular records line to non editable in Grid [message #319965 is a reply to message #319955] Tue, 13 May 2008 09:01 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you search hard for SET_ITEM_RECORD_PROPERTY? You did? And ...? No luck, eh? Must be because it doesn't exist.

So, you have several items in a record. There's the SET-ITEM-INSTANCE-PROPERTY built-in available. It changes property for a single item.

A million dollar question: how do you change properties for ALL items in that record?


(the answer is: eno yb eno)
Re: Can we make a particular records line to non editable in Grid [message #320046 is a reply to message #319870] Tue, 13 May 2008 18:59 Go to previous message
urnikhil
Messages: 42
Registered: March 2008
Member
Hey Dude...

As answered by Littlefoot, you just need to use SET_ITEM_INSTANCE_PROPERTY for all the items in your record. Use the current_record attribute if you want it to be changed at runtime. Hope this info will help you...

- Nik.
Previous Topic: Forms 10g Version 9.0.4
Next Topic: Data should be stored in the text file
Goto Forum:
  


Current Time: Thu Dec 08 14:28:17 CST 2016

Total time taken to generate the page: 0.12721 seconds