<div class="meta" robots="noindex">

</div>

Method

# SQLiteBlob.ReadError

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `IOException</api/exceptions/ioexception>` as a replacement.

</div>

## 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:

``` xojo
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.
