learn_ln6
24th December 2006, 19:56
Hi all,

I have Create One Sub Session. and Added in Standard Session.

for Ex...through Baan standard Session i have Zoom one Sub Session. and after Change The date..in Sub Session i want to Refersh the data in
maintain Session Automatically.

every time for Refersh the data in main session done manauly. please
advice how to refersh the data Automatically.


Please Help

george7a
25th December 2006, 20:43
Hi,

Check the set.synchronized.dialog() function:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_set_synchronized_dialog

Also check the follwoing post:
http://www.baanboard.com/baanboard/showthread.php?t=25894&highlight=Synchronize

I hope it helps,

- George

bigjack
26th December 2006, 06:20
If you have access to script of main session and assuming you are working on LN, then you may try following alternate method,

choice.<sub session code>:
after.choice:
execute(first.set)

learn_ln6
26th December 2006, 19:09
problem is slove now.

lbencic
26th December 2006, 19:54
I'm sure you resolved well. Just to add, you can use the call:


refresh.parent(-1)


Use that in the sub session whenever you want to refresh the parent values. I've used this successfully in LN.