Hi Thys,
I've tweaked the Example 57 (Tabs) to show what I _think_ is what you're doing. (This will be in the 5.34 build).
However, as I understand it,
you are doing some custom validation in the ValidateRecord routine -
ie you're doing this when the user clicks on "Save" (or Finish).
The code I added (to the end of the ValidateRecord routine) goes something like this;
! for some reason I only want to check this checkbox here, not earlier.
If loc:field2b = 0
loc:Invalid = 'loc:field2b'
loc:field2b:IsInvalid = true
loc:alert = 'Tick that you support the Stormers'
loc:InvalidTab = 1 ! tabs are numbered from 0
End
Note the addition of the loc:InvalidTab value, tabs are numbered from 0, so in this case I want to go back to the second tab (ie tab number 1).
HTH
cheers
Bruce