Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting field value by using the Alias
Message
De
08/11/2001 12:18:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00579179
Message ID:
00579188
Vues:
23
>Everybody,
>
>I have created a class that has a custom property called "cAliasName". This property represents the alias for a temporary table. In this table, I have a field called "periods". How do I get value of the "Periods" field.
>
>For example the value in the "Periods" field is 12 and I want the varable lnPeriods to equal 12.
>
>I have tried the following and several other but continue to get errors.
>lnPeriods = Eval(This.cAliasName)->Periods
>lnPeriods = &This.cAliasName->Periods
>lnPeriods = (This.cAliasName)->Periods

lnPaeriods = eval(this.cAliasName+'.periods')
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
Répondre
Fil
Voir

Click here to load this message in the networking platform