vfp列表框
一个表单上有一个列表框,我想将一个表(cjm)的字段值(字段:xm,bj,sx,yw,cj)赋给列表,该怎么做,先谢谢指教
[解决办法]
THISFORM.List1.RowSourceType= 2
SELECT xm,bj,sx,yw,cj FROM TT INTO CURSOR DD
THISFORM.List1.RowSource="DD"
THISFORM.List1.ColumnCount=4
[解决办法]
thisform.combo1.RowSourceType=1
use cjm
for i=1 to fcount()
thisform.combo1.addListItem(fields(i),i)
endfor