KeithLaw999 wrote:
> hi i have a date time field in ms sql server 2005
>
> i have 2 form fields i need to insert into the datetime
>
> i am using CAST(@SchDateTime AS DATETIME) to convert my
datetime from
>
> #DateFormat("#form.SMS_Date#
#form.SMS_Time#",'dd/mm/yyyy hh:mm:ss')#
>
> but the time is not inserting correctly any ideas how i
insert 2 form fields
> into sql ?
>
> many thanks
>
createodbcdatetime() maybe?
--
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com