Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a grid show fields from two related tables correctly
Message
From
31/07/2006 14:24:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
31/07/2006 02:33:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01141727
Message ID:
01141890
Views:
19
>Simply set the controlsource of the editboxes accordingly.
>Yourgrid.column1.text1.controlsource='table1.field1'
>Yourgrid.column2.text1.controlsource='table2.field1'
>I also set the columns' controlsource to the same value, but I don't know if that's important. But as always, better safe than sorry. :-)

Actually, you only need to set column's controlsource and leave the textbox's blank. It assumes the column's controlsource by default.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform