我有这个查询 -
"insert into FROM_MASTER values('" & n & "'," & TextBox2.Text & ",'" & _
TextBox3.Text & "','" & TextBox4.Text & "'," & u & "," & k & "," & id & ")"
以下是值 -
"insert into FROM_MASTER values('22/02/2013',9999999999999,'ok','ok',9999999999999,1,1)"
它给出数据类型不匹配exeception.and我插入日期作为字符串.so,无论date.only问题是长number.plz帮助我
答案 0 :(得分:1)
最大数量的Microsoft Access数据类型是LONG(4byte),您的号码(9999999999999)比它大,解决问题使用字符串。