Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBCheckbox

Status
Not open for further replies.

Fleabit

Programmer
Nov 16, 2002
14
US
Can you use a DBcheckbox with a datafield other than a string or Boolean. I am accessing a Pervasive SQL2000i database from Delphi 5 and can't seem to set the ValueChecked or ValueUnchecked parameters for data fields that are either unprintable characters or numbers. I have tried setting these values programatically in the FormCreate event by setting the value to Chr(1) for example which doesn't seem to work for either a character field set to the number 1 or a number field set to 1. Does anyone know a way to make this work?
 
Checkbox values are normally True or false (-1 or 0)..
Check the properties for that component.

michael
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top