Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Location
    Australia
    Posts
    183

    Unanswered: Saved as undefined

    When I submit data through my website one particular field which is drop down field and has 4 values (5, 10, Fee, other) saves as "undefined"
    I get no errors through the web site.

    Field is varchar

  2. #2
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    Is it a word "undefined" or a NULL? Do you have a check constraint on the field? Is there a default value preselected or it's blank on your web page?
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

  3. #3
    Join Date
    Feb 2004
    Location
    Australia
    Posts
    183
    No not null saves the actual word "undefined" I have no constraints,there is no default value, I make a selection but it doesn't save that but saves and dispalys word "undefined"

  4. #4
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    Either the driver that you use has some sort of translation built in (never heard of it), or your code contains a constant that is being used during parsing of your action query.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

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