Adding a NULL Value in a Currency table in an Access DB

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

  1. #1

    Default Adding a NULL Value in a Currency table in an Access DB

    Hello there,

    I have a problem with Adding a NULL Value in a Currency table in an Access
    database. The problem accurs when i'm trying to Update an empty field. The
    error message is:

    Error Type:
    Provider (0x80020005)
    Type mismatch.
    /travel/update_delete_datprijs.asp, line 43


    Can some one help me with a solution?

    Thanks in advance.


    Raven Guest

  2. Similar Questions and Discussions

    1. Adding UNIQUE constraint on NULL column
      I am trying to add a unique constraint on a column that can be null. The documentation states that null is treated as non equal values but I want...
    2. adding a hyperlink to a field in a table created from a d/b query (Access)
      I've done this using Frontpage; and I know I've done it in the past using just ASP. I'm trying to stay away from FP on this site, so.... Can...
    3. help. null dynamic table results in error
      When user input from form variables results in null dynamic tables (repeating regions), I get the following error message: "ADODB.Field...
    4. Null Values in a table not properly selected
      I am using SQL Server 7.0. I have a table with a field called PARENT_ID, which has a numerical value entered for those which have a logical parent,...
    5. Finding null values in a large table
      I have a fairly large table (millions of rows) and I would like to be able to find rows that have a null value in a particular column. I know that...
  3. #2

    Default Re: Adding a NULL Value in a Currency table in an Access DB

    Raven wrote:
    > Hello there,
    >
    > I have a problem with Adding a NULL Value in a Currency table in an
    > Access database. The problem accurs when i'm trying to Update an
    > empty field. The error message is:
    >
    > Error Type:
    > Provider (0x80020005)
    > Type mismatch.
    > /travel/update_delete_datprijs.asp, line 43
    >
    >
    > Can some one help me with a solution?
    >
    > Thanks in advance.
    This always seems to work for me:
    update table set [moneyfield] = Null

    Bob Barrows



    Bob Barrows Guest

  4. #3

    Default Re: Adding a NULL Value in a Currency table in an Access DB

    Raven wrote:
    > Hello there,
    >
    > I have a problem with Adding a NULL Value in a Currency table in an
    > Access database. The problem accurs when i'm trying to Update an
    > empty field. The error message is:
    >
    > Error Type:
    > Provider (0x80020005)
    > Type mismatch.
    > /travel/update_delete_datprijs.asp, line 43
    >
    >
    > Can some one help me with a solution?
    >
    > Thanks in advance.
    Please do not multipost. i've already answered this question over in
    ..asp.db.


    Bob Barrows Guest

  5. #4

    Default Re: Adding a NULL Value in a Currency table in an Access DB

    a currency cant be null dont add null add 0.00 or 0 instead. Try it
    "Raven" <raviram@tiscali.nl> wrote in message
    news:bfgctc$pvc$1@reader1.tiscali.nl...
    > Hello there,
    >
    > I have a problem with Adding a NULL Value in a Currency table in an Access
    > database. The problem accurs when i'm trying to Update an empty field. The
    > error message is:
    >
    > Error Type:
    > Provider (0x80020005)
    > Type mismatch.
    > /travel/update_delete_datprijs.asp, line 43
    >
    >
    > Can some one help me with a solution?
    >
    > Thanks in advance.
    >
    >

    Ronnie Patton Guest

  6. #5

    Default Re: Adding a NULL Value in a Currency table in an Access DB

    Hello Bob,

    Thank you for your support, it's working.

    Raven

    "Bob Barrows" <reb_01501@yahoo.com> wrote in message
    news:%23HRA4k3TDHA.1868@TK2MSFTNGP11.phx.gbl...
    > Raven wrote:
    > > Hello there,
    > >
    > > I have a problem with Adding a NULL Value in a Currency table in an
    > > Access database. The problem accurs when i'm trying to Update an
    > > empty field. The error message is:
    > >
    > > Error Type:
    > > Provider (0x80020005)
    > > Type mismatch.
    > > /travel/update_delete_datprijs.asp, line 43
    > >
    > >
    > > Can some one help me with a solution?
    > >
    > > Thanks in advance.
    >
    > This always seems to work for me:
    > update table set [moneyfield] = Null
    >
    > Bob Barrows
    >
    >
    >

    Raven Guest

  7. #6

    Default Re: Adding a NULL Value in a Currency table in an Access DB

    The problem is solved.

    "Ronnie Patton" <someone@microsoft.com> wrote in message
    news:s4RSa.8271$ii2.817@fe2.columbus.rr.com...
    > a currency cant be null dont add null add 0.00 or 0 instead. Try it
    > "Raven" <raviram@tiscali.nl> wrote in message
    > news:bfgctc$pvc$1@reader1.tiscali.nl...
    > > Hello there,
    > >
    > > I have a problem with Adding a NULL Value in a Currency table in an
    Access
    > > database. The problem accurs when i'm trying to Update an empty field.
    The
    > > error message is:
    > >
    > > Error Type:
    > > Provider (0x80020005)
    > > Type mismatch.
    > > /travel/update_delete_datprijs.asp, line 43
    > >
    > >
    > > Can some one help me with a solution?
    > >
    > > Thanks in advance.
    > >
    > >
    >
    >

    Raven 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