<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODBC connect in a external txt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880757#M1001893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastian, como estas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;muchas gracias por tu ayuda, en este link encontre lo que estaba buscando, algo asi seria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/412791"&gt;Passing userid and password to ODBC Connection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;muchas gracias!saludos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 May 2015 14:54:43 GMT</pubDate>
    <dc:creator>fkeuroglian</dc:creator>
    <dc:date>2015-05-30T14:54:43Z</dc:date>
    <item>
      <title>ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880747#M1001883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have one question about odbc to connect to sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO database (XUserID is xxx, XPassword is yyy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i want to create this string connection external in a txt, and not visible for the user, it could be possible to pass for parameters the user and the password? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want that the user not create the odbc always, i will have a string by defect and the user only will pass the user and the password and the database name or server if it could.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way or solution to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i put my app in other place, with the same odbc only change user and password and connect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880747#M1001883</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-05-29T20:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880748#M1001884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can do it like this:&lt;/P&gt;&lt;P&gt;$(Must_Include=$(v.ConnStringPath)nameofile.txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&amp;nbsp; v.ConnStringPath is your relative path to your file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880748#M1001884</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2015-05-29T20:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880749#M1001885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suposing that you have a C:\ODBC.txt file with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;XUserID is xxx, XPassword is yyy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;aux:&lt;/P&gt;&lt;P&gt;LOAD @1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, explicit labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;let odbc = Peek('@1');&lt;/P&gt;&lt;P&gt;drop table aux;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ODBC CONNECT TO database ($(odbx));&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880749#M1001885</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2015-05-29T20:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880750#M1001886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Staffan! I didn't knew about this sentence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880750#M1001886</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2015-05-29T20:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880751#M1001887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Staffan, thank you for the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my problem is not call external txt, my problem is that in my external txt there will be the string whit the paramets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ODBC CONNECT TO database (XUserID is xxx, XPassword is yyy)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;but what happend if i want to user the same odbc but in another ambient(test or production) i will have to put another user and password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;what can i change this? because in my string conection there will be encrypted the old user and password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;thank you staffan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880751#M1001887</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-05-29T20:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880752#M1001888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do u want to switch users that have access to the database? why not always use one user that have read properties. Then you can move your file from test to prod to wherever, look into how you use connectionstrings in Deployment Framework.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880752#M1001888</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2015-05-29T20:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880753#M1001889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Staffan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i always will use user with read permision to acces to the data base but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in test my database will be DBTest&lt;/P&gt;&lt;P&gt;my user will be: userTest&lt;/P&gt;&lt;P&gt;my pass will be: passTest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;in prod my database will be DBProd&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;my user will be: userProd&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;my pass will be: passProd&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;i want ONE only string connection if i have this case&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;thank you a lot!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 20:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880753#M1001889</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-05-29T20:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880754#M1001890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this will help: &lt;A href="http://qlikshare.com/545/" title="http://qlikshare.com/545/"&gt;Dynamic Connection String in QlikView - QlikView Blog, QlikView Videos and Tips at QlikShare&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 21:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880754#M1001890</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2015-05-29T21:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880755#M1001891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When it runs on a server you can't have any interaction with the user so they can pass a userid and password on demand. Then you will have to have a list of users and passwords. More practical is to have a list of different databases that will each point to Development, Test, User Acceptance and Production for instance with different userids and passwords for each.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2015 00:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880755#M1001891</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-30T00:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880756#M1001892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fernando, intuyo que hablás español. If not speak spanish, tell and i will traduce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"El usuario" al que hacés referencia, es el desarrollador o el usuario final? Es quien desarrolla el script o es el que usa la aplicación?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si es el que usa la aplicación, de antemano, no va a poder acceder a la misma desde el Access Point, ya que toda interacción con variables se hace en una instancia del usuario, y la recarga de la misma es independiente a esas modificaciones. Va a tener que acceder mediante instalación del cliente y el acceso directo al qvw. Entonces podés tener una variable que sea, por ejemplo, vBase. Puesta en un cuadro de entrada, cuyos valores puedan ser DBTest, o DBProd. Entonces manualmente va a recargar la aplicación. &lt;/P&gt;&lt;P&gt;En el script, si querés ponelo en una pestaña oculta, ingresá lo siguiente:&lt;/P&gt;&lt;P&gt;If vBase='DBTest' then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(Must_Include=$(v.ConnStringPath)ODBC_DBTest.txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ELSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(Must_Include=$(v.ConnStringPath)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ODBC_DBProd&lt;/SPAN&gt;.txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cada .txt contendrá los parámetros de cada base, con sus respectivos usuario y contraseña.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si no entendí bien tu necesidad, por favor, explicámela de nuevo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2015 11:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880756#M1001892</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2015-05-30T11:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connect in a external txt</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880757#M1001893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastian, como estas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;muchas gracias por tu ayuda, en este link encontre lo que estaba buscando, algo asi seria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/412791"&gt;Passing userid and password to ODBC Connection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;muchas gracias!saludos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2015 14:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-connect-in-a-external-txt/m-p/880757#M1001893</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-05-30T14:54:43Z</dc:date>
    </item>
  </channel>
</rss>

