Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2005
    Posts
    215
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Application uses a value of the wrong type ...

    Hello all. I have an online timecard system, which has a different page for each day of the week. I am getting the following error when I try to insert data into my DB. I know it's not the code, because I get the same error on all pages when I choose a specific value from a drop-down box. I noticed that when I change the value of the drop-down box option to 50 char. or less, it seems to work fine. I have the field length in the DB set to 75 and still no luck. Is there a maximum length for drop-down boxes? Can this be changed?

    Here is the error:

    Code:
    ADODB.Command error '800a0d5d' 
    
    Application uses a value of the wrong type for the current operation. 
    
    /Timesheet/ts_enterSat.asp, line 152
    Thanks in advance,

    Parallon

  • #2
    Regular Coder
    Join Date
    May 2005
    Posts
    215
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Actually, I figured it out. I was looking at the size of the field that populates the dropdown box, and not the size of the field that the data was getting inserted in. I changed that size, and everything works fine.

    That means it's time to go home.... ;o)

    Parallon


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •