Hi Jay,
Use For Each and PemStatus, let's say you want to find all controls in a form with a VALID method, this
code will do it:
FOR EACH oControl IN ThisForm.Controls
IF PEMSTATUS(oControl, 'VALID',5)
MESSAGEBOX(oControl.Name)
ENDIF
ENDFOR
Good Luck
>How do I loop through all the objects on a form that have a specific method?
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould