Insert database record

I am trying to insert a database record like this:

Dim rec As New DatabaseRecord rec.Column("name").ToText = "Carrots" rec.Column("description").ToText = "The chopped ones please...." app.db.InsertRecord("grocery",rec)

The database is a Sqlite database.

The errormessage in the debugger is “Can’t find a type with this name” and refers to DatabaseRecord. Do I have to use app.db.SQLExecute(sql) instead to achieve an insert?

Correct. There is no class based way of inserting data yet.

Thanks Bob