Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL as Rowsource in ComboBox
Message
From
14/09/2000 08:08:47
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00416276
Message ID:
00416286
Views:
34
Jay:

Here is a code fragment that I use:

local lcSQLCmd

with this.grdLookup
.recordsource = ""
lcSQLCmd = "select * from TAPGLAS into cursor TAPCURS"
lcSQLCmd = lcSQLCmd + thisform.SQLFilter
&lcSQLCmd

.recordsource = "TAPCURS"
.column1.controlsource = "TAPCURS.STYLE"
.column2.controlsource = "TAPCURS.DESCRIPT"
endwith

HTH
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform