combo with datetime issue

C

candide_sh

Hello,

(A2003)
In a form I present a combobox-dropdown-list with timevalues like
"06:18". In the AfterUpdate-Event of the combo I take a date-value of
another control and concat date and time into the combo. Well done,
this works, the table stores the correct value, but if I click into
the combo (not the dropdown-arrow) it shows the concatenated datetime-
value, but I only want to show the time value.

I tried with format hh:nn at property-menu and so on, with no success!
I don't know if it's important but I store the values in SQLServer2005-
tables.

any hints?
 
C

candide_sh

@Klatuu

sorry I don't understand exactly what you mean. The customer wants a
combo with the time values so he doesn't need to use the keyboard to
enter the time values.
 
K

Klatuu

I don't believe you can do what you are trying to do easily. The only
thing I can think of would be to use a multi column combo and leave just the
time values in the visible column and do the concatenation in another
column.
 
C

candide_sh

I don't believe you can do what you are trying to do  easily.  The only
thing I can think of would be to use a multi column combo and leave just the
time values in the visible column and do the concatenation in another
column.


sorry I don't understand exactly what you mean. The customer wants a
combo with the time values so he doesn't need to use the keyboard to
enter the time values.

Thanks for your help, by now I think I just let the combo display
values the way it is now. When I use the combo for test, it works well
for me, the customer can tell me tomorrow.
thx
candide_sh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top