Calling two different databases from tcl

Homepage Clovertech Forums Cloverleaf Calling two different databases from tcl

  • Creator
    Topic
  • #120511
    TorfinnK
    Participant

    Hello

    I got two db’s, sqlite and sqludv, first one is the local SQLite and the second one is a remote MS-SQL. If I connect with the database-inbound protocol in the GUI I can just choose Database Connection.
    The question is: If I from inside a tcl want to decide which db to Select from, how can I do that.

    Is there away to choose DB_CONNECTION from inside the tcl.

    #set row [dblookup ‘ssi_afvigelser’ ‘579000012029’1]
    #echo $row

    /Torfinn

Viewing 1 reply thread
  • Author
    Replies
    • #120513
      TorfinnK
      Participant

      Did figure it out

    • #120521
      Charlie Bursell
      Participant

      I figured you would Torfinn.  Sometimes just expressing the problem to someone else helps.  🙂

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10