Results 1 to 7 of 7

Thread: [No one help m] Oracle dsn problem..

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2003
    Posts
    38

    Red face [No one help m] Oracle dsn problem..

    I'm firstly using Access as backend to my project, i connect to access using system Dsn.It woking fine.

    Now i want to shift my database to oracle.So i created a System Dsn.I change only in my connection object, change its DSN to Oracle Dsn.Rest coding is same will it work

    I'm connecting to oracle using DSN my connection is created but it cannot count record from database.There are records in my table.My coding for open database and to count recored as follow


    code for connection opening

    DIM CON AS NEW ADODB.CONNECTION

    With Con
    .Mode = adModeReadWrite
    .Open "Provider=msdaora;" & _
    "DSN=store2;" & _
    "User Id=acme;" & _
    "Password=acme"
    END WITH


    code to open recordset

    RsUser.Open "select * from SUSER", Con, , , adCmdText

    if RsUser.RecordCount=0 then
    msgbox "No record"
    end if


    Can RecordSet.RecordCount will not work in oracle

    Plase help me
    Thanks lot
    Last edited by spsingh; Oct 12th, 2003 at 08:06 AM.

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