Subject RE: [IBO] String parsing issue with TableName setting
Author IBO Support List
Rob,

Do you confirm that you are getting correct behavior with the latest
release?

Thanks,
Jason
www.ibobjects.com


-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Robert Martin
Sent: Monday, December 2, 2013 4:03 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] String parsing issue with TableName setting

Great. I misunderstood what you were saying. I will leave my code
unchanged in anticipation of the next release :)

Cheers
Rob

On 3/12/2013 9:48 a.m., IBO Support List wrote:
> Rob,
>
> Irrespective of what Firebird/InterBase does with an empty table name, my
> point is if you wanted it (assuming the database allows it) then you can
> explicitly put "" in the TableName property. Therefore, I agree that I
> should treat a blank string there as simply nothing being assigned and not
> allow it to convert it to "".
>
> Jason
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On
Behalf
> Of Robert Martin
> Sent: Monday, December 2, 2013 12:49 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] String parsing issue with TableName setting
>
>
>> I probably could make a fix for it to ignore it because if you wanted to
>> work with an empty tablename you could just directly assign it "" and it
>> would recognize it. I'll put in a fix for the next release. You can
> probably
>> patch it easily enough or do you want me to just send you a patch?
>
> Hi
>
> I'm not sure I have explained the issue clearly enough. I feel that if
> you set table name to an empty string it should stay that way. It
> doesn't make sense for the component to treat it as a reserved word and
> encapsulate it in double quotes, its not like you can create tables in
> Firebird that have no name!
>
> You cant do this..
>
> CREATE TABLE ""
> (
> ....
> )
>
> OR
>
> SELECT * FROM ""
>
>
> Therefore it doesn't make sense that when you set a table name to ''
> (empty string) to indicate unassigned that the component converts this a
> string containing two double quotes ("").
>
> Code example
>
> myTable.Tablename := ''; //Set to empty string
>
> ShowMessage(myTable.Tablename); //Displays ""
>
> The above displays "", in older IBo versions it (correctly) displayed a
> blank message box.
>
>
> I can't see that changing my code to assign tablename as "" and having
> your components convert that to an empty string makes any sense.
>
> If you don't think a fix to IBO is required please let me know and I
> will just change my code to also treat "" as an empty table name.
>
> Cheers
>
>
> ------------------------------------
>
>
___________________________________________________________________________
> 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 upgradeYahoo
> Groups Links
>
>
>
>
>
> ------------------------------------
>
>
___________________________________________________________________________
> 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 upgradeYahoo
Groups Links
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4259 / Virus Database: 3629/6885 - Release Date: 12/02/13
>
>



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

___________________________________________________________________________
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 upgradeYahoo
Groups Links