I am discovering limitations with how ASPRunner generates code for handling date/time fields when only a "time" value is required.
This issue was mentioned in the following post:
http://www.asprunner.com/forums/index.php?...0&hl=time+field
I have a date/time field that I use to store time values (i.e. begin time / end time).
In SQL Server, ou can just insert a value like "08:00" and it will convert to " 01/01/1900 8:00:00 " in the table.
I tried changing the edit controls in ASP Runner to simply be unformatted text fields. After the page was generated, I tried putting in 08:00 as a value. In the BeforeAdd event, I wanted to tack on the 01/01/1900 date.
However, the dict("start_time") field is NULL in the BeforeAdd event (I used a response.write to display the value). So, something happens to the field before the BeforeAdd event is processed.
I have heard suggestions on this post that time fields should just be stored as text fields in the underlying database. This does not seem like an acceptable solution, especially when any sort of time-checking / conflict algorithm is involved in the business rules.
Time fields are very important in a lot of applications. In my case, I have to set up class meeting start and end times.
One should be able to handle time fields and use a time picker control to select valid time values. I can't imagine that the only solution would be to change the data type structure of the underlying table. I would be interested to hear from other users who have experienced similar issues and how it was handled. Thanks.