[求助]以下语句错在哪?该怎么办
我先定义了一个字段,数据类型是整型数字,我是在textbox中写入数据,然后存储到表中,想用一个textbox显示几个字段的和,我写了如下语句:
dim a as integer
dim b as integer
dim sum as integer
Dim heji As Integer
Private Sub Command1_Click()
sum = a+b
text3.text = sum
End Sub
Private Sub Command2_Click()
a = Text1.Text
b = Text2.Text
heji = Text3.Text
End Sub
我知道错出的很可笑,可我这只菜鸟就是不会,呵呵,大家帮帮忙吧