Brightsign Object Reference Manual (FW 5.1) User Manual Page 162

  • Download
  • Add to my manuals
  • Print
  • Page
    / 341
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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;")
Page view 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 340 341

Comments to this Manuals

No comments