Renegade
15th February 2014, 02:58
Hi,
I have a Single -Occ maintain session that is synchronized with a Multi-Occ session. No inserts, just updates required. And all fields are in maintable. My problem is, after I changed some field values and saved it, am not able to change any field value again. But if I close and open the session, I can.

Been long since did any serious coding. Am sure for most of you guys, it would be simple one. Thanks

Renegade
16th February 2014, 02:36
Guys.... please help !!

bhushanchanda
16th February 2014, 07:27
Hi,

Have you tried enable.fields() or enable.group() in before.display.object: section?

Also, check if it gets solved when you add these lines in your script:

group.1:
init.group:
get.screen.defaults()

Renegade
17th February 2014, 02:44
not using DF so tried

form.all:
init.form:
get.screen.defaults()

Still the same. I can save once after I opened form, but not later, unless I close and open.

bhushanchanda
17th February 2014, 07:07
Hi,

Not sure what the exact problem is, is there anything written within the script which is controlling this behavior? Never faced the similar issue on LN.

Also try adding this to your script:

before.program:
single.fields.on.mocc.form("field_1","field_2",....)