Bruce,
This doesn't seem to work for me. I am definitely in a "change record" mode and the tab I am wanting to be set on opening the form is the third physical tab (tab # 2), and I have the p_web.SSV('showtab_UpdateMyActions',2) in the PreUpdate routine, but it still opens with tab 0.
I'm wondering if the problem is that the templates are forcing the tab to tab 0 in spite of the embed code in the PreUpdate (or PreInsert) routine. I say this because the following pattern shows up in the template code:
of Net:ChangeRecord + NET:WEB:StagePre
p_web.setsessionvalue('SaveReferUpdateMyActions',p_web.getPageName(p_web.RequestReferer))
do StoreMem
do PreUpdate
p_web.setsessionvalue('showtab_UpdateMyActions',0)
It looks like the template is forcing Tab 0 automatically AFTER the PreUpdate routine. Same in other stages, too.
Am I misunderstanding this, or is there a way around this so I can force the desired tab on opening the page?
Mike Springer