Hi Guys,
Sorry for this question that I know is simple but me learning can’t figure it out:
I want to select a record from a SQLlite database based on two fields so I can delete it:
- ProdNombre (string)
- FacturaID (Integer)
I’m using this statement and the compiler says “Expected string but got integer”
vCurrentRowSet = app.db.SelectSQL("SELECT * FROM Factura_Detalles WHERE ProdNombre = " + vCurrent + " AND FacturaID = " + vFacturaID + ")
vCurrent is string and vFacturaID is an Integer
Thanks guys