 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
bar Guest
|
Posted: Thu Mar 15, 2007 8:11 am Post subject: Storing Multiple Values |
|
|
Hello all,
I am using BCB 6, ADODataSet for database transactions. And Access as a
backend
I have a check list box.
I need to store the multiple selected values in the check list in the single
field of a table in the database.
and retreive again and show the selections in the checklist box.
Could anybody suggest good technique
Sorry if wroung groiup.
Thanks
SA |
|
| Back to top |
|
 |
Vladimir Stefanovic Guest
|
Posted: Thu Mar 15, 2007 10:05 pm Post subject: Re: Storing Multiple Values |
|
|
| Quote: | I have a check list box.
I need to store the multiple selected values in the check list in the
single field of a table in the database. and retreive again and show
the selections in the checklist box.
Could anybody suggest good technique
|
It's simple. You can consider check list box as a binary value:
[x] Item 1
[ ] Item 2
[x] Item 3
[x] Item 4
1011 bin = 11 dec
Just save 11 in a single DB field.
Unfortunately, I don't know of a DB-Aware component (should
be called TDBCheckListBox) that can read data for you, but it
definetly must exist somewhere.
| Quote: | Sorry if wroung groiup.
|
There is ADO group.
--
Best Regards,
Vladimir Stefanovic |
|
| 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
|
|