Creating a times valuelist

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Creating a times valuelist

Postby Riccardino » Tue Jul 20, 2004 9:58 am

I'm trying to set up a times valuelist based on database values (the field is DATETIME), but I can't get the job done.
My intention was to let the user enter values such as "08:00", "09:30": is it possible?
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Jan Aleman » Tue Jul 20, 2004 11:54 am

Can you be a bit more specific?
What exactly do you want in the valuelist? an interval of times?
What problems are you experiencing?
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Riccardino » Tue Jul 20, 2004 12:10 pm

jaleman wrote:Can you be a bit more specific?
What exactly do you want in the valuelist? an interval of times?
What problems are you experiencing?


I have to set an appointments module and I'd like to use a valuelist for start_date and end_date (both fields are DATETIME)
I tried to use values like:
08:00
08:30
09:00
but they're not stored in the dataprovider
I also tried
08:00:00
08:30:00
etc (same result). Maybe the problem is the lack of the date component, probably needed by the datetime column.

Any suggestion?

Servoy 2.0.4, OSX.3.4
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby jcompagner » Sat Jul 24, 2004 11:12 pm

these things are fixed in 2.1b5
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 36 guests