Hi Peter,
thanks for the update, although there is a simpler solution - especially for the case where deleting the wholw session is not an option <g>.
the value is stored in
showtab_UpdateInvoices
where UpdateInvoices is the name of the form.
So you can reset it to the first tab (Tab 0) by doing
p_web.SSV('showtab_UpdateInvoices',0)
Cheers
Bruce