I’m new to Sqlite and this is an amateur question. I’m trying to insert a Integer property in to the Primary ID row and a string property in the next column. The integer property keeps giving me a syntax error. How do I make it except the RowID Integer. I got the sql code to Select a Row that works. Dim sql As String = "SELECT * FROM FretBoardOption WHERE ID = " + str( RowID )
[code]Dim RowID As Integer
Dim stringPropertyNm As String = “NewString”
RowID = PopupMenu.ListIndex
Dim sql As String = “INSERT INTO dbTable(ID,Column1) VALUES(” + str(RowID),’"+stringPropertyNm+"’)" // <— ?
db.SQLExecute(sql)[/code]