 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
TerryC Guest
|
Posted: Sun Dec 17, 2006 5:45 am Post subject: Using TDBCheckBox in IBX |
|
|
OK, I can get my TDBCheckBox to READ and SHOW the current value
of a field in my Interbase database, but it doesn't seem to want
to WRITE the value.
How does one set the ValueChecked and ValueUnchecked properties
so it will WRITE the correct value to my field? The field I am
using is a CHAR(1) field, constrained with a CHECK to be
IN('T', 'F').
Does it need to be a numeric field for that control to work?
Thanks! |
|
| Back to top |
|
 |
Wayne Niddery [TeamB] Guest
|
Posted: Sun Dec 17, 2006 10:41 pm Post subject: Re: Using TDBCheckBox in IBX |
|
|
TerryC wrote:
| Quote: | OK, I can get my TDBCheckBox to READ and SHOW the current value
of a field in my Interbase database, but it doesn't seem to want
to WRITE the value.
How does one set the ValueChecked and ValueUnchecked properties
so it will WRITE the correct value to my field? The field I am
using is a CHAR(1) field, constrained with a CHECK to be
IN('T', 'F').
Does it need to be a numeric field for that control to work?
|
No, set the ValueChecked/UnChecked properties to T and F respectively.
--
Wayne Niddery - Winwright, Inc (www.winwright.ca)
"It is error alone which needs the support of government. Truth can
stand by itself." - Thomas Jefferson |
|
| Back to top |
|
 |
TerryC Guest
|
Posted: Tue Dec 19, 2006 2:29 am Post subject: Re: Using TDBCheckBox in IBX |
|
|
"Wayne Niddery [TeamB]" <wniddery (AT) chaffaci (DOT) on.ca> wrote:
| Quote: | Does it need to be a numeric field for that control to work?
No, set the ValueChecked/UnChecked properties to T and F
respectively.
|
Thanks. I thought I had tried that, but it seems not.
-Terry |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|