Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box Control Source
Message
From
15/05/2003 03:45:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00788536
Message ID:
00788542
Views:
26
>Hi Cetin
>
>I want my list box to show the values from a field within a table which external from application.
>
>Therefore if I use the controlsource=alias.fieldname option where do I put this code. Do I put this in the init event of the list box or somewhere else.
>
>The table I am using is called mainstnd and the field is key2. Would the syntax be something like controlsource=Mainstnd.Key2
>
>The problem is Mainstnd is on U: Drive (how do I include this)
>
>Many thanks

Neil,

it looks like you are mixing up the ControlSource and RowSource properties. You need to use the RowSource property here.
Kenneth.
Previous
Reply
Map
View

Click here to load this message in the networking platform