How CheckComboBox description value is saved to the database, rather than save his index to the database, such as I a drop-down box, I chose Beijing, Shanghai, guangzhou, finally, I put the three value is saved to the database
CodePudding user response:
Then you will index values can be saved to the database
CodePudding user response:
Cx series CheckComboBox is save index, BsskinCheckComboBox is save words
Don't know you use plug-in specific call what,
CheckComboBox1. Items. The Count CheckComboBox1. Items. Strings [I]; Could be obtained by circulating the
CodePudding user response:
Is like this:
var I: Integer; The begin For I:=0 to CheckComboBox. Properties. The Items. Do the Count - 1 The begin If CheckComboBox. States [I]=cbsChecked then The begin ShowMessage (CheckComboBox. Properties. The Items [I] the Description). end; end; end;
CodePudding user response:
Thank you for your help, I need is to get the Description corresponding to the value of the post into the database