Method

SQLiteBlob.ReadError


Warning

This item was deprecated in version 2019r2. Please use IOException as a replacement.

Description

Indicates if there was an error reading from the BLOB.

Sample code

This example reads the Logo (stored as a binary picture) from the Logo column for rowID = 1 in the Team table:

Var blob As SQLiteBlob
blob = db.OpenBlob("Team", "Logo", 1, True)
If blob <> Nil Then
  Var data As String
  While Not blob.EOF
    data = data + blob.Read(1000)
    If blob.ReadError Then
      MsgBox("Error reading from BLOB.")
      Exit While
    End If
  Wend
  blob.Close
  ' Do something with the data
End If

Compatibility

All project types on all supported operating systems.