This is a continuation from the last question with the same title. Pcelba posted a solution which covered pageframes, but one of the forms has a 4-page tabbed pageframe. This method will blow up because there is no "controls" property for this type of frame.
I was hoping someone could modify the following code to allow for Pages within a tabbed pageframe.
IF loContainer.BaseClass = 'PageFrame'
FOR EACH loControl IN loContainer.Pages FOXOBJECT
**error happens below
FOR EACH loControl IN loContainer.Controls FOXOBJECT
IF INLIST(loControl.BaseClass, 'Container', 'Pageframe', 'Page')
IF loControl.BaseClass <> 'Label'
*loControl.Value = loControl.ControlSource