Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set 2nd column value of grid automatically..
Message
From
01/07/2008 02:19:24
 
 
To
01/07/2008 01:42:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01327800
Message ID:
01327804
Views:
8
>I have a grid with 3 columns, the first column is the account code and the second is its account name.
>
>I have a table that contains the codes and names. How can I automatically put the account name in the 2nd column if the account code is entered on the 1st column?
>
>TIA.

You set a relation between the table you work with and the table containg the account code and name. Then simply set the third column's ControlSource to Yoursecondtable.accountname. And make sure to also set it to readonly!
Previous
Reply
Map
View

Click here to load this message in the networking platform