Hi
Can anyone tell me why this code gives the error shown below?
Compiling code. Error
Error compiling program.
Error description: Cannot assign void value.
Occurred on line: 58
Cursor3 = SQL1.ExecNonQuery(SQLString)
Word: )
Henk
Can anyone tell me why this code gives the error shown below?
B4X:
Dim SQLString As String
SQLString = "UPDATE Figures SET Forecast = 1000 WHERE rowid = 20"
Cursor2 = SQL1.ExecQuery(SQLString)
SQLString = "SELECT Forecast FROM Figures WHERE rowid = 20"
Cursor3 = SQL1.ExecNonQuery(SQLString)
Cursor3.Position = 0
Log(Cursor3.GetDouble2(0))
Compiling code. Error
Error compiling program.
Error description: Cannot assign void value.
Occurred on line: 58
Cursor3 = SQL1.ExecNonQuery(SQLString)
Word: )
Henk