欢迎来到皮皮网网站!

【框架源码视频】【金藏源源码】【探针查ip源码】delphi 物料源码

时间:2025-02-12 12:10:29 来源:认购资金盘源码

1.DELPHI combobox如何与DBGRID的结合
2.DELphi 如何组合字符串
3.Delphi DBCombobox如何获取选项文本

delphi 物料源码

DELPHI combobox如何与DBGRID的结合

       å…ˆæŠŠä»£ç å†™åœ¨combobox1的onchange事件里

       Query.close;

       Query.sql.text:=ConCat('select * from 备件 where 物料号 like ',物料框架源码视频#,'%',combobox1.text,'%',#,' and 名称 like ',#,'%',combobox2.text,'%',#);

       if dtpTime.text<>'' then

       Query.sql.text:=ConCat(Query.sql.text,' and 日期=',#,dtpTime.text,#);

       Query.open;

DELphi 如何组合字符串

       WLBH := StringOfChar('0', 4 - Length(WLLB)) + WLLB + StringOfChar('0', 4 - Length(WLPP)) + WLPP + StringOfChar('0', 4 - Length(WLGG)) + WLGG;

Delphi DBCombobox如何获取选项文本

       先把代码写在combobox1的onchange事件里

       Query.close;

       Query.sql.text:=ConCat('select * from 备件 where 物料号 like ',#,'%',combobox1.text,'%',#,' and 名称 like ',#,'%',combobox2.text,'%',#);

       if dtpTime.text<>'' then

       Query.sql.text:=ConCat(Query.sql.text,' and 日期=',#,dtpTime.text,#);

       Query.open;

更多相关资讯请点击【探索】频道>>>