en@frrom
13th August 2004, 08:56
Hi all,

4 sessions.
1) multi-occ, main, display session - main table A. Select 1 recvord, and via form-button, go to session 2.
2) multi-occ, sub, display session. set.synchronized dialog(session 3), main table B
3) multi-occ, sub, display session. set.synchronized.dialog(session 4), main table B
4) single-occ, sub, display session, main table C

My problem is that when double-clicking on a record in session 2, in order to get to session 3, session 3 opens, and right away session 4 opens on top of it without doing anything.

Any ideas why this is? Is it because of a problem when setting a synchr. dialog in a synch.dialog? Or maybe is a record in session 3 getting "double-clicked" upon the opening of the session...?

Any help/hints/ideas would be appreciated..!


Kind regards,

En.

lbencic
13th August 2004, 16:09
Hi En -
Here's what I see as the problem. The correct setup for a synchronization when generating is:

Session 1:
Multi Occurance -
Window Type: List
Options Set: M.something
Synchronized Session: Yes
Synchronized to: Session 2

Session 2:
Single Occurance:
Window Type: Synchronized Dialog
Options Set: SY0

I think if you try to synch a multi occ to another multi occ, there are problems, not just because it's multi occurance, but because the type is not 'Synchronized Dialog'. Also, 'Dialog' type in Baan generally means Single Occ., so 'Synchroized Dialog' to me means a Synchronized Single Occ session. In your case, when you come into session 3, it's not recognizing it to be the Synchroized Dialog, so probably it is still looking for that in the chain, and calling the Synch Dialog from session 3 as the end result.