When I insert this into the program it kicks out this error
error description:
arithmetic operation resulted in an overflow
This is it's environment.
Any help appreciated.
error description:
arithmetic operation resulted in an overflow
This is it's environment.
PHP:
Sub App_Start
Form1.Show
Con.New1
Cmd.New1("",con.Value)
Con.Open("Data Source = " & AppPath & "\Northwind.sl3")
cmd.CommandText="CREATE TABLE if not exists table1 (col1,col2)"
cmd.ExecuteNonQuery
cmd.AddParameter("value1")
cmd.AddParameter("value2")
cmd.CommandText = "INSERT INTO [table1] (col1,col2) VALUES (@value1,@value2)"
Con.BeginTransaction
cmd.SetParameter("value2","SomeValue")
For i = 0 To 10
cmd.SetParameter("value1",i)
cmd.ExecuteNonQuery
Next
cmd.ExecuteTable("table1",500)
Con.EndTransaction
Con.Close
cmd.Dispose
Con.Dispose
End Sub
Any help appreciated.