Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlsource
Message
 
To
30/09/1997 10:20:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00052402
Message ID:
00052480
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform