Results 1 to 2 of 2

Thread: Multiple ODBC connection

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893

    Multiple ODBC connection

    Hi all,
    i'm back to Lianja.. but not my head.. :-)

    I'm sure this has been discussed before, but I don't remember....

    I have 2 identical databases on MS SQL, one test and one production.

    I would like to be able to switch between the DBs via a configuration file external to the application.

    It seemed to me that you could set in the ODBC connection of the virtual tables a variable: ?myOdbc

    Then, from code:
    public myOdbc
    myOdbc = "WMS_xxxx"
    Name:  2021-11-11 19_55_32-Window.jpg
Views: 44
Size:  30.3 KB

    but don't work..
    any suggestion?
    thanks
    Fabio

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    My mistake...
    work fine :-)

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us