I am trying to bind a TblobField with a TRichViewEdit. I have included the fmxDBRV unit in the form.
Binding throws an exception: "EvalError in : Cannot assign a TBlobField to TRVDocumentProperty".
I have installed the latest version 20.3.1
Problem LiveBindings with Tblobfields
Re: Problem LiveBindings with Tblobfields
If the query is closed, it allows the link to be made, but when activating it, the "EvalError" exception is thrown
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Problem LiveBindings with Tblobfields
Include DBRV unit in your project (or fmxDBRV for FireMonkey version).
You can do it:
- for Delphi, by adding DBRV in "uses" of one of your units
- for C++Builder, by the line #pragma link "DBRV" in one of your units
You can do it:
- for Delphi, by adding DBRV in "uses" of one of your units
- for C++Builder, by the line #pragma link "DBRV" in one of your units
Re: Problem LiveBindings with Tblobfields
I am using Delphi 11 in an FMX project using Firebird 2.5 as the database.
I have included from the beginning the fmxDBRV unit as indicated in the documentation. But when activating the query to the database, the exception "EvalError : Cannot assing TBlobField to a TRVDocumentProperty" is thrown, whether I do the link with TRichView or with TRichViewEdit.
Is there an example where this actually works?
I have done all the possible tests on several models and I have never been able to make the link successfully.
I have included from the beginning the fmxDBRV unit as indicated in the documentation. But when activating the query to the database, the exception "EvalError : Cannot assing TBlobField to a TRVDocumentProperty" is thrown, whether I do the link with TRichView or with TRichViewEdit.
Is there an example where this actually works?
I have done all the possible tests on several models and I have never been able to make the link successfully.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Problem LiveBindings with Tblobfields
A demo is <TRichView FMX Dir>\TRichView\Demos\Delphi.FMX\DBDemos\DBLiveBindings.FireDAC_IB\DBLiveBindingsFD.dproj
The exception "Cannot assing TBlobField to a TRVDocumentProperty" is expected for projects that do not include fmxDBRV unit, but must not happen if this unit is included.
If you can create a simple project reproducing this problem, please send it to me to email richviewgmailcom.
The exception "Cannot assing TBlobField to a TRVDocumentProperty" is expected for projects that do not include fmxDBRV unit, but must not happen if this unit is included.
If you can create a simple project reproducing this problem, please send it to me to email richviewgmailcom.