val()
sql = "insert newcard(sname,sno,grade,department,moneys,tel) values('" & Trim(Text1.Text) & "','" & Trim(Text2.Text) & "','" & Trim(Text3.Text) & "','" & Trim(Text4.Text) & "','" Val(Text5.Text) "','" & Trim(Text6.Text) & "')"'" Val(Text5.Text) "'
请问,这种从文本框中获取数字的写法该怎么改?我在运行时是有错误的.