Brightsign Object Reference Manual (FW 5.1) Manuale Utente Pagina 162

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 341
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 161
154
if type(e) = "roSqliteEvent" then
transId = e.GetTransactionId()
sqlResult = e.GetSqlResult()
print transId
print sqlResult
if transId <> expectedId then
print "Incorrect transaction Id"
end
endif
if sqlResult <> SQLITE_COMPLETE then
print "SQL Insertion Failed"
end
endif
else
print "RunBackground() - Wrong event - FAILED"
end
endif
else
print "RunBackground() - No Response - FAILED"
end
endif
' You don't need to call Finalise() since that'll be done by the background processor.
Example: Querying from a Table
selectStmt = db.CreateStatement("SELECT * FROM playback;")
Vedere la pagina 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 340 341

Commenti su questo manuale

Nessun commento