Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stepping through field names myfield1, myfield2, myfield
Message
De
01/03/2000 13:22:22
 
 
À
01/03/2000 10:30:17
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00339788
Message ID:
00339947
Vues:
13
>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform