Subject | Re: [IBO] Wide Memo persistent fields |
---|---|
Author | Robert Martin |
Post date | 2017-05-17T21:42:08Z |
Hi Jason
Thanks for your reply. I tried the fix you describe but the build fails
with
IBODatasetReg.pas(74) error : E2003 Undeclared identifier: 'TIBOFmtBCDField'
IBODatasetReg.pas(76) error : E2003 Undeclared identifier:
'TIBOBooleanField'
ibo5xdt_d2012.dpk(44) Fatal: F2063 Could not compile used unit
'IBODatasetReg.pas'
Done Building Project ".....\packages\d2012\ibo5xdt_d2012.dproj"
(Clean;Build target(s)) -- FAILED.
Build FAILED.
ibo5xdt_d2012.dproj" (Clean;Build target) (1) ->(_PasCoreCompile target) ->
....\source\tdataset\IBODatasetReg.pas(74) error : E2003 Undeclared
identifier: 'TIBOFmtBCDField'
....\source\tdataset\IBODatasetReg.pas(76) error : E2003 Undeclared
identifier: 'TIBOBooleanField'
I am using an older version of IBO (5_3_5_b1996), I suspect this is
breaking the fix. We do plan to upgrade both our Delphi and our IBO in
the near future but at the moment I remain 'stuck' on this release :)
Thanks
Rob
On 18/05/2017 6:11 AM, 'IBO Support List' supportlist@...
[IBObjects] wrote:
Thanks for your reply. I tried the fix you describe but the build fails
with
IBODatasetReg.pas(74) error : E2003 Undeclared identifier: 'TIBOFmtBCDField'
IBODatasetReg.pas(76) error : E2003 Undeclared identifier:
'TIBOBooleanField'
ibo5xdt_d2012.dpk(44) Fatal: F2063 Could not compile used unit
'IBODatasetReg.pas'
Done Building Project ".....\packages\d2012\ibo5xdt_d2012.dproj"
(Clean;Build target(s)) -- FAILED.
Build FAILED.
ibo5xdt_d2012.dproj" (Clean;Build target) (1) ->(_PasCoreCompile target) ->
....\source\tdataset\IBODatasetReg.pas(74) error : E2003 Undeclared
identifier: 'TIBOFmtBCDField'
....\source\tdataset\IBODatasetReg.pas(76) error : E2003 Undeclared
identifier: 'TIBOBooleanField'
I am using an older version of IBO (5_3_5_b1996), I suspect this is
breaking the fix. We do plan to upgrade both our Delphi and our IBO in
the near future but at the moment I remain 'stuck' on this release :)
Thanks
Rob
On 18/05/2017 6:11 AM, 'IBO Support List' supportlist@...
[IBObjects] wrote:
> Here is a fix I did on that issue.
>
> Make the Register method in the IBODataSetReg.pas unit look like this and
> then do a rebuild of all of your binaries:
>
> procedure Register;
> begin
> RegisterComponents( 'iboTDataset', [ TIBOTable,
> TIBOQuery,
> TIBOStoredProc,
> TIBOUpdateSQL,
> TIBODatabase,
> TIBOTransaction ] );
> { TODO -cFPCcheck : DB.RegisterFields does not exist. alternative? }
> {$IFnDEF FPC}{RegisterFields}
> RegisterFields( [ TIBOBlobField
> , TIBOFloatField
> , TIBOBCDField
> {$IFDEF IBO_VCL70_OR_GREATER} , TIBOFmtBCDField {$ENDIF}
> , TIBOLargeIntField
> , TIBOBooleanField
> , TIBOWideStringField
> {$IFDEF IBO_VCL2006_OR_GREATER} , TIBOWideMemoField {$ENDIF}
> , TIBOArrayField
> ] );
> {$ENDIF}
> end;
>
>
> You may need to follow the instructions in ibo\docs\HowToInstall.rtf to
> learn how to rebuild your binaries.
>
> Close all versions of Delphi running.
> Open command prompt in ibo\build folder.
> Enter commandline command: build
> This will run the batch file that rebuilds everything.
>
> Then you can reopen Delphi and get to work.
>
> Jason
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
> Sent: Tuesday, May 16, 2017 8:06 PM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Wide Memo persistent fields
>
> Hi
>
> I have added some Blob (Sub type text) fields to my DB. I can add these
> fields to the persistent fields list for the specific table. IBO /
> Delphi add them as 'TIBOWideMemoField'. I can then save and run the app
> fine. However whenever I re open the datamodule involved Delphi (XE2)
> prompts me that it doesn't know what a TIBOWideMemoField is and that the
> property will be removed. I can of course work around this by re
> adding the fields but it's a nuisance.
>
> Any suggestions ?
>
>
> Cheers
>
> Rob
>
>
>
>
> ------------------------------------
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgrade
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>
> ------------------------------------
> Posted by: "IBO Support List" <supportlist@...>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgrade
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2016.0.8013 / Virus Database: 4776/14477 - Release Date: 05/17/17
>
>