Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listing combo box options from another table
Message
From
21/07/2001 12:24:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/07/2001 11:52:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00533526
Message ID:
00533533
Views:
12
>Hey All,
> Is there a way to list combo box options from another table. I am trying to use SQL command to do this. Let say the name of the table is rank. Please tell me what I am missing or not doing right.
>
>My code
>select *
>from rank
>into cursor temp
>
>The combo box does not have a value after selection. can someone help me out or give me a piece of this small code?
>Thanks,
>Tom

Tom,
You can do it as Tim said. Remember when rowsource is SQL, alias or fields you don't ever need the value. You can just query rank.somefield
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
Reply
Map
View

Click here to load this message in the networking platform