Results 1 to 4 of 4

Thread: ADO Read Problems

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    71
    Help.
    I can connect to my ADO db just fine its an access 2000 db. However when I try to run the 1st SQL statement that I have I get an error saying that I don't have read access to the table I am trying to do a select from.

    Here are the specifics

    Connect string:
    .ConnectionString = "Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & strPath

    All seems to work fine here, I a connection and am able to open.

    Code bombs after the following line:
    mRS.Open "SELECT * FROM fe_TransferList", mCN, adOpenKeyset, adLockOptimistic

    I get this message:
    Runtime error '2147217911 (80040e90)'
    Record(s) cannot be read; no read permission on 'fe_transferlist'

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    71

    Note

    Just a note there is an mdw file associated with the mdb that I am accessing. I don't know if this has anything to do with it... What do you think?

  3. #3
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008

    Read Access

    Do you have read access to the table if you go in via Access? Are you actually making a connection? Maybe the database is secured and you need to login.

    Not too sure with Access 2000 as we are still on '97 here.

    Paul.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  4. #4
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Worldwide in the Sun
    Posts
    566

    Check in access on extra, options -> advanced.

    Look to see if your settings are ok.

    If the settings are good, then look at the file attribute
    on your mdb file.


    Cheers
    Ray
    Ray

Posting Permissions

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



Click Here to Expand Forum to Full Width