Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Sub question
Message
De
19/11/1998 10:48:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/11/1998 10:26:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159263
Message ID:
00159281
Vues:
19
>Hello
>
>x='1'
>
>Why this code works:
>z='txtYear'+(x)
>*Thisform.&z..VALUE = 1111
>
>and This does not:
>Thisform.('txtYear'+(x)).VALUE = 1111
>
>Thanks
() are used for name expressions (ie: use (cFilename)). Well also this would work :
with evaluate("Thisform.txtYear"+x)
  .Value = 1111
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform