Results 1 to 1 of 1

Thread: [RESOLVED] [Excel 2003] ADO - still messing up?

Hybrid View

  1. #1

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Resolved [RESOLVED] [Excel 2003] ADO - still messing up?

    Hiya
    Code:
        Set conD = New ADODB.Connection
        conD.Open DBConnect_CHAPsRptPartsDts
        Set rstD = New ADODB.Recordset
        rstD.Open strSql, conD, adOpenDynamic, adLockOptimistic, adCmdText
    I am using this code to open a connection to the database. The connection is opening but is read only?

    What am I doing wrong?




    my references are for ms ado 2.5 - changing this to 2.8

    There is another dll in there for msador15 (2.7 recordset).

    Any ideas on getting read/write?

    The location is read write and opening directly in access allows me to edit records/add records.


    Thanks in advance



    Edit:
    User Error - mine
    Forgot to reassign the sql string to the other table (doh!)
    Last edited by Ecniv; May 1st, 2009 at 02:56 AM.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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