• Multiple Database Connections

    Author
    Topic
    #374483

    Is it possible for one ASP page to open connections to two different Access databases at the same time?

    I need to update similar data in two different databases from the same data entry form.

    Viewing 0 reply threads
    Author
    Replies
    • #605832

      Yes – you can easily do this. You can either create a second connection object, or simply declare the database location in the second recordset’s parameters.

      
      

      Recordset 1 uses the first method (with the Connection object) and Recordset 2 uses the second method (no connection object) – you can mix and match as you like. Of course, Server overhead is probably lower with fewer objects… shrug

      HTH

      • #605875

        Thanks.

        Since this situation will not occur on a regular basis, I went with creating two connections.

        It worked perfectly.

    Viewing 0 reply threads
    Reply To: Multiple Database Connections

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: