以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 窗口表动态添加 数据怎么控制不加载 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=189590) |
-- 作者:yifan3429 -- 发布时间:2023/12/10 21:17:00 -- 窗口表动态添加 数据怎么控制不加载 Dim tbl As WinForm.Table tbl = e.Form.CreateSQL Table("Table1", "Sele ct * From {产品_基础主库明细}", "2022") tbl.SetBounds(10, 10, e.Form.Width - 10 , e.Form.Height - 50) e.Form.AddControl(tbl) tbl.Table.SetColVi sibleWidth("产品ID|110|SKUID|120|品牌商标|80|制造基地|100|产品模块|100|产品大类|100|产品分类|100|中文名称|100|标准尺寸|100|材质等级|100|外观材质|100|备注|100") \' tbl.Left = 80 \' 锚定控件距离 tbl.Top = 40 \' 锚定控件距离 \' tbl.Filter = "[_Id entify] Is Null" 报错 tbl.Width = e.Form.Width tbl.Height = e.Form.Height
|
-- 作者:有点蓝 -- 发布时间:2023/12/10 21:57:00 -- tbl = e.Form.CreateSQLTable("Table1", "Select * From {产品_基础主库明细} where [_Identify] Is Null", "2022") |