Brightsign Object Reference Manual (FW 5.1) Manuel d'utilisateur Page 159

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 341
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 158
151
sqlResult = insertStmt.Run()
print sqlResult
if sqlResult = SQLITE_COMPLETE
print "Table Insertion OK"
else
print "Table Insertion FAILED"
endif
insertStmt.Finalise()
Example: Inserting into a Table Using BindByOffset()
insertStmt = db.CreateStatement("INSERT INTO playback (md5,path,playback_count)
VALUES(?,?,?);")
print insertStmt
if type(insertStmt) <> "roSqliteStatement" then
print "We didn't get a statement returned!!"
end
endif
params = CreateObject("roArray", 3, false)
params[ 0 ] = "ABDEF12345"
Vue de la page 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 340 341

Commentaires sur ces manuels

Pas de commentaire