Problem in updating time field

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Problem in updating time field

    Hi
    I'm trying to update time field which MSACCESS using query

    Sql2 = "Update tblExtraNetUsers SET Lo_date = " & Date()
    & ",Lo_time =#" & FormatDateTime(Time(),4) &"# ,Lo_count
    = " & rs("Lo_count") + 1 & " WHERE UserLogOn = 'david'"

    But its always gives a error message
    Operation must use an updateable query.

    Thanx at advance
    Bhavin Guest

  2. Similar Questions and Discussions

    1. Updating Sort Order on a field?
      Hi i have a customer table. i am displaying them in sorted order. but now i have added 1 field call SortID. now when ever if i add a new...
    2. Updating an Access Yes/No field from a datagrid
      I have a DataGrid that is configured to use the Edit/Update/Cancel concept correctly. My grid shows values from 5 database fields. I only need to...
    3. updating 200 textmebers at a time
      Hi, on stage I´ve created a matrix of 20X10 textfields, each textfield contains one letter. I would like to refresh te contents of the textfields...
    4. Updating global field on host
      FileMaker clients in a networked database can change global fields for their current session, but the changes will not be saved. The only user that...
  3. #2

    Default Re: Problem in updating time field

    Check your NTFS permissions. You probably need to give the IUSR account
    sufficient privileges to update the database.

    Cheers
    Ken

    "Bhavin" <anonymous@discussions.microsoft.com> wrote in message
    news:068901c3979e$5c1d8010$a601280a@phx.gbl...
    : Hi
    : I'm trying to update time field which MSACCESS using query
    :
    : Sql2 = "Update tblExtraNetUsers SET Lo_date = " & Date()
    : & ",Lo_time =#" & FormatDateTime(Time(),4) &"# ,Lo_count
    : = " & rs("Lo_count") + 1 & " WHERE UserLogOn = 'david'"
    :
    : But its always gives a error message
    : Operation must use an updateable query.
    :
    : Thanx at advance


    Ken Schaefer Guest

  4. #3

    Default Re: Problem in updating time field

    How can I check NTFS permission and how to give the IUSR
    account sufficient privileges to update the database.
    -Bhavin
    >-----Original Message-----
    >Check your NTFS permissions. You probably need to give
    the IUSR account
    >sufficient privileges to update the database.
    >
    >Cheers
    >Ken
    >
    >"Bhavin" <anonymous@discussions.microsoft.com> wrote in
    message
    >news:068901c3979e$5c1d8010$a601280a@phx.gbl...
    >: Hi
    >: I'm trying to update time field which MSACCESS using
    query
    >:
    >: Sql2 = "Update tblExtraNetUsers SET Lo_date = " & Date
    ()
    >: & ",Lo_time =#" & FormatDateTime(Time(),4)
    &"# ,Lo_count
    >: = " & rs("Lo_count") + 1 & " WHERE UserLogOn = 'david'"
    >:
    >: But its always gives a error message
    >: Operation must use an updateable query.
    >:
    >: Thanx at advance
    >
    >
    >.
    >
    Bhavin Guest

  5. #4

    Default Re: Problem in updating time field

    Right-click on a folder in Explorer -> Properties -> Security tab.

    IUSR_<machinename> needs Read/Execute/Write
    Creator/Owner should have "Full Control"

    Cheers
    Ken

    "Bhavin" <anonymous@discussions.microsoft.com> wrote in message
    news:04ba01c3982c$15d3a240$a401280a@phx.gbl...
    : How can I check NTFS permission and how to give the IUSR
    : account sufficient privileges to update the database.
    : -Bhavin
    : >-----Original Message-----
    : >Check your NTFS permissions. You probably need to give
    : the IUSR account
    : >sufficient privileges to update the database.
    : >
    : >Cheers
    : >Ken
    : >
    : >"Bhavin" <anonymous@discussions.microsoft.com> wrote in
    : message
    : >news:068901c3979e$5c1d8010$a601280a@phx.gbl...
    : >: Hi
    : >: I'm trying to update time field which MSACCESS using
    : query
    : >:
    : >: Sql2 = "Update tblExtraNetUsers SET Lo_date = " & Date
    : ()
    : >: & ",Lo_time =#" & FormatDateTime(Time(),4)
    : &"# ,Lo_count
    : >: = " & rs("Lo_count") + 1 & " WHERE UserLogOn = 'david'"
    : >:
    : >: But its always gives a error message
    : >: Operation must use an updateable query.
    : >:
    : >: Thanx at advance
    : >
    : >
    : >.
    : >


    Ken Schaefer 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