Hi Bruce,
The form's not being called from a browse. Does that explain things? However, it's always in Insert mode (it's used to let someone set themselves up as a new user).
PreInsert code as requested:
p_web.SetSessionValue('NewSystemUserPage_CurrentAction',InsertRecord)
p_web.setsessionvalue('showtab_NewSystemUserPage',0)
Com:CreatorSuID = 7
Com:Publish = 1
SU:CountryID = 1
Com:TimeZoneID = 1
! Start of "Pre Insert After Primes"
! [Priority 5000]
Com:CompanyCode = 'US'
CR:SuCode = 'US'
SU:CountryID = 1 ! Australia
Com:CreatorSuID = 7 ! update to SystemUserID later
! End of "Pre Insert After Primes"
p_web.FileToSessionQueue(Companies,Net:AlsoValueQueue)
Cheers
Rhys