Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - I could use some access help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I could use some access help

 Post Reply Post Reply
Author
wingking View Drop Down
Groupie
Groupie
Avatar

Joined: 09 January 2004
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote wingking Quote  Post ReplyReply Direct Link To This Post Topic: I could use some access help
    Posted: 16 September 2005 at 10:52pm
I inherited a application to work on. unfortunetly it is using access as a db and I forgot more than I ever knew about access, yes that means I know less than nothing.
here is the problem I am getting a type mismatch when tring to add a field. it is a general date field in access.
below is the related code. it is two pages, a forms page and a add page.
please see if you can tell me how to convert the request so access sees it as a date.
 
form page
 
autime = FormatDateTime(Date, 0)
autime = autime & " "
autime = autime & FormatDateTime(time, 3)
aucsttime = Request("aucsttime")
if len(trim(Request("aucsttime"))) > 0 then
timenow = timenow
else
timenow = autime
end if
 
Response.Write "<INPUT TYPE=""HIDDEN"" NAME=""aucsttime"" Value=""" & timenow & """>"
 
    Response.Write "<TR>"
    Response.Write "<TD>" & gsLabelOpen & "Start Time" & gsLabelClose & "</TD>"
    Response.Write "<TD><INPUT TYPE=""TEXT"" NAME=""aucsttime"" SIZE=""40"" MAXLENGTH=""255"" value=""" & timenow & """></TD>"
    Response.Write "</TR>"
 
 
post page
aucsttime = Request("aucsttime")
rsAuc("aucAvailDate") = aucsttime
 
thanks in advance for any help
Back to Top
wingking View Drop Down
Groupie
Groupie
Avatar

Joined: 09 January 2004
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote wingking Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2005 at 1:52am
never mind folks, I see my own mistake now. sheesh I better go to bed.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.