Subject | RE: [IBO] Small parsing bug |
---|---|
Author | Norman Dunbar |
Post date | 2003-03-26T09:52:39Z |
Morning Riho-Rene,
I've had similar problems before where BCB seems to get confused when using
'+=' on Properties. I have numerous comments in some programs where I have
left a hint to myself along the lines of "you may be wondering why I'm not
using '+=' here. It is because it sometimes fails on Properties".
Best avoided I'm afraid.
Regards,
Norman.
PS. Still does it in BCB 6 with all 3 service packs applied. :o(
-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------
-----Original Message-----
From: Riho-Rene Ellermaa [mailto:r.ellermaa@...]
Sent: Wednesday, March 26, 2003 9:50 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Small parsing bug
Its very weird.
If I build the Filter up in parts:
Filter="ACCID IN(";
Filter+="16,";
Filter+="17";
Filter+=")";
then I get error.
If I copy from debugger the final string and then modify my code:
Filter="ACCID IN(16,17)";
then it works normaly????????
This email is intended only for the use of the addressees named above and
may be confidential or legally privileged. If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents. If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.
I've had similar problems before where BCB seems to get confused when using
'+=' on Properties. I have numerous comments in some programs where I have
left a hint to myself along the lines of "you may be wondering why I'm not
using '+=' here. It is because it sometimes fails on Properties".
Best avoided I'm afraid.
Regards,
Norman.
PS. Still does it in BCB 6 with all 3 service packs applied. :o(
-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------
-----Original Message-----
From: Riho-Rene Ellermaa [mailto:r.ellermaa@...]
Sent: Wednesday, March 26, 2003 9:50 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Small parsing bug
Its very weird.
If I build the Filter up in parts:
Filter="ACCID IN(";
Filter+="16,";
Filter+="17";
Filter+=")";
then I get error.
If I copy from debugger the final string and then modify my code:
Filter="ACCID IN(16,17)";
then it works normaly????????
This email is intended only for the use of the addressees named above and
may be confidential or legally privileged. If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents. If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.