VishalMistry
11th August 2010, 13:25
We are facing a strange problem related to a newly developed maintain session. The issue is as given below:

* created a maintain session (multi-occurance)
* specified the same session name in sync dialog so that when adding a new
record, it switches to detailed mode
* once this session session is created (till now we are not modifying anything
in session script), and try to add new record, it properly goes to detailed
mode (single record maintain session)
* now if we modify the session script and add field validation logic, after
compiling when we start session and start creating new record, session
does not start in detailed record mode, it starts adding record in multi-
occurance mode itself

Kindly guide what needs to be done so that while adding record, it
switches to single record (detail mode) mode.

Vishal

rberti
11th August 2010, 15:38
Hi Vishal,
I've faced this problem before, and got it resolved using void set.synchronized.dialog( string sess_code, [ boolean editable.grid, [ boolean use.dialog.for.insert ] ] ) in before.program section. Somehow the 4gl engine default programa changes its behavior when we don't use stnd script.

Hope it helps!

Rafael

VishalMistry
12th August 2010, 06:59
Hi Vishal,
I've faced this problem before, and got it resolved using void set.synchronized.dialog( string sess_code, [ boolean editable.grid, [ boolean use.dialog.for.insert ] ] ) in before.program section. Somehow the 4gl engine default programa changes its behavior when we don't use stnd script.

Hope it helps!

Rafael

Hi,

Thanks a lot for the reply. It has resolved my issue.

Thanks and warm regards,
Vishal