Home » Developer & Programmer » Forms » Radiobutton value doesn't change when query (Oracle form 6i, Windows XP)
Radiobutton value doesn't change when query [message #394997] Tue, 31 March 2009 00:13 Go to next message
sinida1984
Messages: 83
Registered: September 2007
Location: India
Member
Hi

I have a form in which one radiogroup is there. But only when in the entry mode i can change the radio button. When querying, even if the radio button is enabled, the value i cannot change. Can anyone help me please.

Thanks and Regards

Sinida
Re: Radiobutton value doesn't change when query [message #395017 is a reply to message #394997] Tue, 31 March 2009 01:34 Go to previous messageGo to next message
sasipalarivattom
Messages: 118
Registered: June 2007
Location: Cochin ( INDIA )
Senior Member

Dear Sinida,

1 Check whether the update allowed property of the item or block is set to no. If it is so, you will get message like

FRM-40200 Field is protected against update.

2. Do you have any code in WHEN-RADIO-CHANGED trigger, which blocks the update?.

Regards,
Sasi

Re: Radiobutton value doesn't change when query [message #395027 is a reply to message #395017] Tue, 31 March 2009 02:21 Go to previous messageGo to next message
sinida1984
Messages: 83
Registered: September 2007
Location: India
Member
Yes...When radio-changed trigger is there..where i change the visibility of a text item depending on the selected value. Update allowed property is set to Yes only

Thanks and regards
Sinida
Re: Radiobutton value doesn't change when query [message #395049 is a reply to message #395027] Tue, 31 March 2009 03:25 Go to previous messageGo to next message
sasipalarivattom
Messages: 118
Registered: June 2007
Location: Cochin ( INDIA )
Senior Member

ok dear.

1. are you getting any message when you try to modify the radio button value?

If you get any message, please post that message.

2. or it just retains its last value? if yes, when it retains its last value?
while saving or at any other operation?

If it retains the last value when saving, please check whether there is any code in PRE-UPDATE trigger or somewhere like that.

and Please make sure that it is a database item(if it is not a database item, it will show the initial value when you query the data block).

Regards,
Sasi..
Re: Radiobutton value doesn't change when query [message #395350 is a reply to message #395049] Wed, 01 April 2009 03:37 Go to previous message
sinida1984
Messages: 83
Registered: September 2007
Location: India
Member
Hi

There was one procedure in that form which is called somewhere in which the below code was also there

If get_item_property(w_block||'.'||w_item,item_type) in('TEXT ITEM','LIST','CHECKBOX') then
Set_item_property(w_block||'.'||w_item,insert_allowed,property_true);
Set_item_property(w_block||'.'||w_item,update_allowed,property_true);

i added ,'RADIO GROUP' following checkbox. Now it is working.

Thanks and regards
Sinida
Previous Topic: problem while saving
Next Topic: rerieve updated column name
Goto Forum:
  


Current Time: Fri Dec 09 09:47:36 CST 2016

Total time taken to generate the page: 0.12808 seconds