Not read-only


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Not read-only

  1. #1
    Partha Monge Guest

    Not read-only


    The recordset is static as opposed to read only. I did check that. The strange
    thing is that I am doing similar functions on a different table and getting
    no errors.

    Thanks Anyway.
    Partha

    "Sue Harsevoort" <SusannaH67@hotmail.com> wrote:
    >Sorry about that, it looks like you are right. I am used to using DAO which
    >does have an Edit method and since the error message mentioned edit I
    >thought that might be the problem. The only other thought is that the data
    >is read only. The default lock type is Read only so if you did not specify
    >anything for LockType then the data would be read only and the Update would
    >not work.
    >
    >Sue
    >
    >"Partha Monge" <pmonge@uswest.net> wrote in message
    >news:39ff26bc$1@news.devx.com...
    >>
    >> "Sue Harsevoort" <SusannaH67@hotmail.com> wrote:
    >> >Are you calling the Edit method of the recordset in your code?
    >> >
    >> >Sue
    >> >

    >> Sue,
    >> No. I am not calling the Edit method
    >>
    >> Actually I don't believe there is an Edit method.

    >
    >



  2. #2
    Sue Harsevoort Guest

    Re: Not read-only

    What does your code to open the record set look like? Is it the simmilar
    for both the record set that works and the one that doesn't? Static is a
    curser type and not a look type so it could be static and read only, but
    maybe you are using static in a different since.

    Sue

    "Partha Monge" <pmonge@uswest.net> wrote in message
    news:3a009434$1@news.devx.com...
    >
    > The recordset is static as opposed to read only. I did check that. The

    strange
    > thing is that I am doing similar functions on a different table and

    getting
    > no errors.
    >
    > Thanks Anyway.
    > Partha
    >
    > "Sue Harsevoort" <SusannaH67@hotmail.com> wrote:
    > >Sorry about that, it looks like you are right. I am used to using DAO

    which
    > >does have an Edit method and since the error message mentioned edit I
    > >thought that might be the problem. The only other thought is that the

    data
    > >is read only. The default lock type is Read only so if you did not

    specify
    > >anything for LockType then the data would be read only and the Update

    would
    > >not work.
    > >
    > >Sue
    > >
    > >"Partha Monge" <pmonge@uswest.net> wrote in message
    > >news:39ff26bc$1@news.devx.com...
    > >>
    > >> "Sue Harsevoort" <SusannaH67@hotmail.com> wrote:
    > >> >Are you calling the Edit method of the recordset in your code?
    > >> >
    > >> >Sue
    > >> >
    > >> Sue,
    > >> No. I am not calling the Edit method
    > >>
    > >> Actually I don't believe there is an Edit method.

    > >
    > >

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center