-2

i have this query-

"insert into FROM_MASTER values('" & n & "'," & TextBox2.Text & ",'" & _
TextBox3.Text & "','" & TextBox4.Text & "'," & u & "," & k & "," & id & ")" 

and following are the values-

"insert into FROM_MASTER values('22/02/2013',9999999999999,'ok','ok',9999999999999,1,1)"

it is giving datatype mismatch exeception.and i am inserting date as string .so, no matter with date.only matter is that long number.plz help me out

4

1 に答える 1

1

Microsoft Access データ型の最大数は LONG (4byte) です。あなたの数値 (9999999999999) はそれよりも大きく、問題を解決するには文字列を使用します。

于 2013-02-22T20:03:04.577 に答える