ACCESS2000 DO NOT ALLOW NULL VALUE

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default ACCESS2000 DO NOT ALLOW NULL VALUE

    HI

    I use ASP with a Access2000 MDB as database, my asp has a
    form, not all the fileds must fill.

    When the form process input to Access, the Access do not
    allow the field is ''(null)

    How can I fix this ?

    Thanks

    Kelvin

    kelvinfun Guest

  2. Similar Questions and Discussions

    1. Access2000 >> MSDE >> migration route (complexity? | administration? )
      Is there a specific path I can follow to upsize my access 2000 database which has: 20 tables - mixture of primary and foreign tables 20 queries...
    2. Access2000 Conditional Formatting
      Hi, I have a continuous form with several controls which have conditional formatting on them. The form recalcs itself using the Timer event....
    3. form in Access2000 via e-mail
      Want to know if you can e-mail a access form.
    4. Error: ?null? is null or not an object
      eloine: That is a bogus error message in that it probably refers to something you have done (or not done) on the page. So, looking in the...
    5. Button created in Access2002 doesn't work in Access2000
      I have an app. that I created in Access 2002 (Office XP). The user I have created this app. for has Access 2000, when the app. is opened for the...
  3. #2

    Default Re: ACCESS2000 DO NOT ALLOW NULL VALUE

    Change your field to accept nulls, or preferred, don't try to leave it null.
    If you were inserting '', that would be fine. My guess - without seeing
    your code - is that you are skipping the column in your INSERT, like:


    table1:
    ID (autonumber)
    Firstname (text)
    Lastname (text)

    And you're doing:

    INSERT INTO [table1] ([Lastname]) VALUES ('Lee')

    instead of

    INSERT INTO [table] ([Lastname],[Firstname]) VALUES ('Lee','')

    Ray at home

    "kelvinfun" <kelvinfun@hotmail.com> wrote in message
    news:f68901c38307$e2346480$a601280a@phx.gbl...
    > HI
    >
    > I use ASP with a Access2000 MDB as database, my asp has a
    > form, not all the fileds must fill.
    >
    > When the form process input to Access, the Access do not
    > allow the field is ''(null)
    >
    > How can I fix this ?
    >
    > Thanks
    >
    > Kelvin
    >

    Ray at Guest

  4. #3

    Default Re: ACCESS2000 DO NOT ALLOW NULL VALUE

    In the Access table change the field's AllowZeroLength property to be Yes or
    else convert Nulls to "" before saving to the table.
    Bullschmidt Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139