Subject | String parsing issue with TableName setting |
---|---|
Author | Robert Martin |
Post date | 2013-11-27T03:04:51Z |
Hi Jason
If you have a IBOTable component (not active) and set it's .TableName
property to '' (empty string) this is parsed to "" (A double quoted
empty string). I guess this is code designed to make sure reserved
words are quoted that this failing. I broke my code nicely as I am
using an empty TableName to indicate a table needs to be assigned in code.
Test code...
IBOTable1.TableName := '';
ShowMessage(IBOTable1.TableName); //Displays ""
Cheers
Rob
If you have a IBOTable component (not active) and set it's .TableName
property to '' (empty string) this is parsed to "" (A double quoted
empty string). I guess this is code designed to make sure reserved
words are quoted that this failing. I broke my code nicely as I am
using an empty TableName to indicate a table needs to be assigned in code.
Test code...
IBOTable1.TableName := '';
ShowMessage(IBOTable1.TableName); //Displays ""
Cheers
Rob