Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

changing table value in dataware components?

1 view
Skip to first unread message

TomCorcora

unread,
Jun 25, 1996, 3:00:00 AM6/25/96
to

Hi,

We have a TTable tied to a TDatasource loading the value from the table
into dataware components (using the fields editor). Some of the components
are DBComboBoxes and DBListBoxes where the Items property has been set to,
for example, include 7 items: Monday..Sunday. We want the database to hold
a value from 0 to 6 and depending on what's read set, for example, the
itemIndex in the ListBox to the relevant day.

One of the only ways to do this seems to be to have a routine which would
search the component array for the relevant controls and then have a case
statement or something to set to the desired value.

I hope I have explained this clearly.

Is there a neater, cleaner way of accomplishing the above?

Thanks.

Tom.

0 new messages