|
4#
楼主 |
发表于 2008-4-1 11:50:24
|
只看该作者
Option Compare Database
Private Sub Command19_Click()
insert into 汇总(终端编号,终端名称,地址) value (combo13.Text,combo5.Text,combo15.Text);
if combo10.Text = 汇总(XD) then insert into 汇总(XD) value (text17.Text)
else if combo10.Text = 汇总(原汁麦) then insert into 汇总(原汁麦) value (text17.Text)
else if combo10.Text = 汇总(太清) then insert into 汇总(太清) value (text17.Text)
else if combo10.Text = 汇总(X清爽) then insert into 汇总(X清爽) value (text17.Text)
else if combo10.Text = 汇总(金麦) then insert into 汇总(金麦) value (text17.Text)
else if combo10.Text = 汇总(冰爽) then insert into 汇总(冰爽) value (text17.Text)
else if combo10.Text = 汇总(元生) then insert into 汇总(元生) value (text17.Text)
End Sub
===========================================
这是窗体代码,哪里错了呢 |
|