Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlsource
Message
 
À
30/09/1997 10:20:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00052402
Message ID:
00052480
Vues:
37
>i have 2 table with the same structure. In my form i set the controlsource of my textbox to fieldname. my textbox is empty unless
>i specify the tablename like mytable.fieldname. how could i use the controlsource property for my 2 tables.
>
>thanks

May be I don't understand the question, but it is the normal practice to include alias name with field name, as you do. If you want to use the same textbox with two different tables with the same structure, just reset
Textbox.ControlSource = myNextAlias.MyField
somewhere in code when necessary.

HTH,
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform