Home » Developer & Programmer » Forms » Need to allow user to update data
Need to allow user to update data [message #356538] Fri, 31 October 2008 01:23 Go to next message
h_jitendras
Messages: 36
Registered: October 2006
Member
Hi,
We have Forms 6i wherein in a particular form, we disable the fields after a user enters the reqd. information in them and saves them in the database.
If we want to update the information in those fields in that form again, we get the message "This is a non-updateable field.Please check that you are logged in correctly".
We have only one datablock in the form and all the items are in this one block.
I'm not able to make out what trigger/block properties would cause this behaviour of not allowing to update any of the items in that block?I checked the data block properties it says both Insert/update allowed as "yes".
Re: Need to allow user to update data [message #356544 is a reply to message #356538] Fri, 31 October 2008 01:52 Go to previous messageGo to next message
kamran.it
Messages: 265
Registered: September 2005
Location: Karachi
Senior Member
What error No you are receiving?
Re: Need to allow user to update data [message #356547 is a reply to message #356544] Fri, 31 October 2008 02:12 Go to previous messageGo to next message
h_jitendras
Messages: 36
Registered: October 2006
Member
there is no error number as such...only the message which is actually customised in our application for FRM-40200
Re: Need to allow user to update data [message #356550 is a reply to message #356547] Fri, 31 October 2008 02:22 Go to previous messageGo to next message
kamran.it
Messages: 265
Registered: September 2005
Location: Karachi
Senior Member

You defined Set_block_property(' ') any where????
or Set_item_property.....

[Updated on: Fri, 31 October 2008 02:22]

Report message to a moderator

Re: Need to allow user to update data [message #356557 is a reply to message #356538] Fri, 31 October 2008 02:38 Go to previous messageGo to next message
rajy_salim
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
Dear,

How are you trying to update these disabled fields? A disabled field cannot be updatable unless you enable it again.
If you are doing that, somewhere somehow, you must set the UPDATE_ALLOWED property to TRUE again.

Rajy
Re: Need to allow user to update data [message #356566 is a reply to message #356550] Fri, 31 October 2008 03:50 Go to previous messageGo to next message
h_jitendras
Messages: 36
Registered: October 2006
Member
thats what...i need to figure out which set_.. property is causing this behavior.... either at the block level or at the form level...not sure..
Re: Need to allow user to update data [message #356568 is a reply to message #356557] Fri, 31 October 2008 03:53 Go to previous messageGo to next message
h_jitendras
Messages: 36
Registered: October 2006
Member
It happens something like this:
First the fields are enterable and once they are entered and saved,the fields become grayed out(not allowing anything to update any field).I need to change this behavior...is there some property at the form/block level which allows to unset this behavior?
Re: Need to allow user to update data [message #356592 is a reply to message #356538] Fri, 31 October 2008 06:18 Go to previous message
rajy_salim
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
How are these fields becoming grayed out?
Look for the instruction causing that, then remove it.
(it may be on the POST-INSERT trigger of the datablock)

Rajy
Previous Topic: group column in data block
Next Topic: Return value to calling form from called form
Goto Forum:
  


Current Time: Fri Dec 02 16:35:18 CST 2016

Total time taken to generate the page: 0.14730 seconds