Discussion:
Using TDBCheckBox in IBX
(too old to reply)
TerryC
2006-12-16 23:45:40 UTC
Permalink
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!
Wayne Niddery [TeamB]
2006-12-17 16:41:44 UTC
Permalink
Post by TerryC
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
TerryC
2006-12-18 20:29:16 UTC
Permalink
Post by Wayne Niddery [TeamB]
Post by TerryC
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

Loading...