Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 162

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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;")
Przeglądanie stron 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag