Code: Select all
With rsCurrentTable
.DataSourceName=theDataSourceName
.CommandType=com.sun.star.sdb.CommandType.TABLE
.Command=theTableName
.IgnoreResult=True 'NOT INTERESTED IN RESULT
.execute()
End With
rsCurrentTable.moveToInsertRow()
colIdentifier =rsCurrentTable.getColumns().getByName( theColumnName )
colIdentifier.updateString(dataItem)
colIdentifier =rsCurrentTable.getColumns().getByName( "timeStampModified" )
colIdentifier.updateTimestamp(colIdentifier.getTimeStamp)
rsCurrentTable.insertRow()