Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box Control Source
Message
From
15/05/2003 03:36:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00788536
Message ID:
00788538
Views:
34
>Morning,
>
>I have a list box on a form from which I would like to link to field on a table. When I start up the form I want to see those values in the list box. Can anybody tell me how I can set this up.
>
>thankyou

If you mean that field's values would be elements of listbox then :

Rowsourcetype = Fields
Rowsource = alias.fieldname

But IMHO better :
Rowsourcetype = 3 && SQL
Rowsource = select fieldname from table into cursor crsLstBox

If you mean listbox have a rowsource and you want to bind to values :
Controlsource = alias.fieldname

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform