Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering records by list box.
Message
From
12/05/2003 07:04:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00787216
Message ID:
00787256
Views:
17
Hi Neil,

i replay first solution

m.key2Size=FSIZE('key2','modacad')
sList=''
WITH List1
FOR i=1 to .ListCount
IF .Selected(m.i)
sList=m.sList+",'"+PADR(.List(m.i),m.key2Size)+"'")
ENDIF
ENDWITH

SELECT * FROM modacad WHERE inlist(key2 &sList.) into cursor tresult

Second solution is equal to Cetin solution.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform