becks22
31st August 2010, 18:46
Hi All,

I am having an issue ..I am having a Status Field in a maintain Session ..The status should be open while maintaining a record ..So I have put the same in the Before.display section ..But I need to display the new value once the field value gets changed I mean if the staus is closed it should show up as close ..But its not showing up ..I think I should use when.field .changes section ..Please correct me If I am wrong ..
Totally Stucked Up

mark_h
31st August 2010, 19:20
First a better subject is recommended, some might skip this because of just the title.

Is this a status field you included on the form? When does the value change? If someone changes a field? If a specific field why not use after.input on that field to update the status and display it.

becks22
1st September 2010, 16:00
Sorry Sir I will take this care in future .Actually sir its a status field ..And while amintaining PR I am making that status as raised.Its a display field so I am using before.display ..After the status got chnaged I need it to show Confirmed ..

mark_h
1st September 2010, 17:28
Maybe a screen print of the form and the code will help. Even with this field being a display field you can change its value in the after.input of another field and do a display on the field to get it to show up. I might be missing something.

ashishjain
7th September 2010, 19:48
is it a table field or a form field?
first thing don't make the field open in "before.display" section because every time you run the session or doing any modification on the field, before.display section would get called & make the status field "Open".
Try this as suggested by Mark..

after.input:
status = <Your Value>
display("status")

hope it should work.

becks22
16th September 2010, 20:04
Thanks Guys Its solved now ..Thanks to your support