我在做vfp的作业,我想问的是如何在表单上创建一个下拉列表框控件,其选项可显示关于xx表的的表格

来源:百度知道 编辑:UC知道 时间:2024/06/07 04:32:31

list1

form1 init事件

thisform.list1.columncount=3 三列,看你有多少个字段
thisform.list1.rowsourcetype=2 别名
thisform.list1.rowsource=表名.dbf

右击表单添加数据环境
把表添加进去
或者
use 表.dbf
thisform.list1.columncount=3 三列,看你有多少个字段
thisform.list1.rowsourcetype=2 别名
thisform.list1.rowsource=表名.dbf
顺序不要乱了

在属性栏内修改也可