1 (edited by gieri 2016-08-10 16:18:59)

Topic: fill Column with check box values

Hello,

I like to fill a column with check box values. Which kind of data field I need for the TableGrid to right in the value of the check  box  I tick?

I set a TEXT field under Database tables and add some checkboxes and relate the them with "TableName" and "FieldName".
When I tick a check box, the is no content stored in the column. Is the a special option in the Check Box Properties where I have to set the Content (name) which will show in the Column?

Current I get ony a "1" or a "YES" in this column ... depends on the field type.
For better Understand, attached  the Project file.
In frmRetoure are the check boxes "Bearbeiter" which should displayed in the TableGrid1 and TablGrid2 in the column "Bearbeiter" as Name and not as Value "1" or "YES"

Thanks for any hint.

gieri

Post's attachments

Attachment icon Projektdatei.zip 8.7 kb, 332 downloads since 2016-08-10 

Re: fill Column with check box values

Hello,


CheckBox can store only Yes or No.
You should use ComboBox instead CheckBox. In the ComboBox you can select value, like Benny, Elisa or Markus.


Please download your fixed project:

Post's attachments

Attachment icon Projektdatei_fixed.zip 10.72 kb, 366 downloads since 2016-08-11 

Dmitry.

Re: fill Column with check box values

Hello Dmitry,

now works fine, thank you very much for your support!

Cheers

gieri