Subject | RE: [IBO] Wide Memo persistent fields |
---|---|
Author | IBO Support List |
Post date | 2017-05-17T18:11:55Z |
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
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