Results 1 to 4 of 4

Thread: Within Access 2000, connect to a DSN

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    Question Within Access 2000, connect to a DSN

    From within an Access 2000 database, can you access an external DSN? If so how can I do this? I want to take data from another backend...

  2. #2
    Lively Member
    Join Date
    Jun 2003
    Posts
    114
    Sure ... Ex:

    Set MyConnect = New ADODB.Connection
    Set MyRecSet = New ADODB.Recordset

    MyConnect.CursorLocation = adUseClient
    MyConnect.Open "DSN=Billing System;"

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513
    Do I paste all of the recordset and connectionstring into a module?

  4. #4
    Lively Member
    Join Date
    Jun 2003
    Posts
    114
    That is up to you ... I cannot tell you how you should design your program.

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