我的combo的数据源为表,表的字段为姓名、性别。
请问怎样运用COMBO显示的姓名、性别呢?如使变量A=COMBO中的姓名、变量B=COMBO中的性别。
------解决方案--------------------------------------------------------
a=thisform.combo2.Listitem[this.ListIndex ,1]
b=thisform.combo2.Listitem[this.ListIndex ,2]
如果是在combo2之外运行以上代码,把this改为thisform.combo2