>I have a db table that has a series of fields like this....
>I have a command that needs to be run on each field in the table...
You can use Fields() to walk throught the field naems, or afields().
But I would have the command button set its own caption in its init or something:
This.Caption = iif(seek(upper(This.Name), 'CaptionTable', 'object'), CaptionTable.Caption, This.Caption)
This means you'd have table that looks like:
Object Caption
-------------------
Button1 Button1Caption
Button2 Add
ect.
Is this possible for you?