Hi Kevin,
I worked it out, but it was a bit icky, so I decided to add a method to the class to make it easier, and discovered there was a method already there <g>.
a) in the form search for 'childnewselection'. You should find one for all the possible children, including procedures (browses), other forms and so on. Pick the one that is correct for you.
b) p_web.SetTabText('UpdateCustomers', 0, 'General ' & random(1,100),loc:TabStyle)
the first parameter is the name of the procedure. (This is not case sensitive.)
The second parameter is the tab number. Please note that tabs are counted from 0. Hidden tabs are counted, "Excluded" tabs are not.
The third parameter is the new text for the heading.
The 4th parameter tells the method what TabStyle you are using - you should leave that as is. However if you are using 8.42 or earlier use loc:WebStyle instead of loc:TabStyle.
As from 8.43 this technique works with all tab types - for 8.42 and earlier it only works for the Tab tab type.
cheers
Bruce