<?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 access database connectivity in LabWindows/CVI</title>
    <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164483#M71007</link>
    <description>&lt;P&gt;I am trying to connect to an access database (office 365). &amp;nbsp;I downloaded the SQL toolkit (trial version) and would like to connect to a simple database I created on my local C drive. &amp;nbsp;I am having trouble with the connection string. &amp;nbsp;The examples in CVI are very poor and only connect to the sample cvi database. &amp;nbsp;the example that does connect to the microsoft access database crashes. &amp;nbsp;any suggestions?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2015 13:05:34 GMT</pubDate>
    <dc:creator>Joncombat</dc:creator>
    <dc:date>2015-07-13T13:05:34Z</dc:date>
    <item>
      <title>access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164483#M71007</link>
      <description>&lt;P&gt;I am trying to connect to an access database (office 365). &amp;nbsp;I downloaded the SQL toolkit (trial version) and would like to connect to a simple database I created on my local C drive. &amp;nbsp;I am having trouble with the connection string. &amp;nbsp;The examples in CVI are very poor and only connect to the sample cvi database. &amp;nbsp;the example that does connect to the microsoft access database crashes. &amp;nbsp;any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 13:05:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164483#M71007</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-13T13:05:34Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164524#M71008</link>
      <description>&lt;P&gt;Connecting to a database using the SQL toolkit is easy if you can provide a DSN for it.&lt;/P&gt;
&lt;P&gt;Consider that the SQL toolkit is a 32-bit tool: you can only use it while creating 32-bit executable even in 64-bit environment. Nevertheless, in such a case you must create the DSN using the 32-bit version of the ODBC administrator, which you can find in&amp;nbsp;C:\Windows\SysWOW64\odbcad32.exe (note that even the 64-bit program is called odbcad&lt;U&gt;32&lt;/U&gt;! &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://ni.lithium.com/i/smilies/16x16_smiley-surprised.gif" alt="Smiley Surprised" title="Smiley Surprised" /&gt; )&lt;/P&gt;
&lt;P&gt;Once created the appropriate DSN that points to your database (let's call it "MyDSN" for clarity), you should be able to&amp;nbsp;connect to it by using&amp;nbsp; dbH = DBConnect ("DSN=MyDSN");&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 14:13:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164524#M71008</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-13T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164544#M71009</link>
      <description>&lt;P&gt;I think a created the dsn correctly.&amp;nbsp; when I try to connect it returns a -10.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 14:38:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164544#M71009</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-13T14:38:06Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164571#M71011</link>
      <description>&lt;P&gt;Error -10 is a system error raised from the OS: try calling&amp;nbsp;DBNativeError and see if some error code is returned.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 15:16:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164571#M71011</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-13T15:16:18Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164668#M71014</link>
      <description>&lt;P&gt;error code 0x800004005 when I try to connect to my db&lt;/P&gt;
&lt;P&gt;error code 0x80040E4E when trying to connect to the default microsoft database in CVI sql example browser2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 17:38:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164668#M71014</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-13T17:38:04Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164974#M71021</link>
      <description>&lt;P&gt;Have you&amp;nbsp;read &lt;A href="http://digital.ni.com/public.nsf/allkb/C30CF3219F63ABC586257A23005C5C0A" target="_self"&gt;this document&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:45:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3164974#M71021</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-14T07:45:50Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165034#M71027</link>
      <description>&lt;P&gt;I read the document.&amp;nbsp; I tried adding a new connection.&amp;nbsp; it shows up in the browser2 window.&amp;nbsp; when I select it it still gives me the -10 error message.&amp;nbsp; Is there a different way to make a connection to a database?&amp;nbsp; I have a simple table with 5 entries I would like to use to store and retrieve data from multiple pc's.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:51:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165034#M71027</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-14T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165041#M71028</link>
      <description>&lt;P&gt;I have no problems in connecting to a MS Access database provided that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;The DSN&amp;nbsp;is configured in the 32-bit version of the ODBC administrator&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;The DSN correctly points to a file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Is your file on the local machine or on a network shared resource?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:23:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165041#M71028</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-14T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165097#M71030</link>
      <description>&lt;P&gt;I found an issue with my a corrupted driver in my administrator tools.&amp;nbsp; I deleted it and recreated it.&amp;nbsp; Still no luck.&amp;nbsp; My databse is on my local machine.&amp;nbsp; I am using windows 7 and configured for 32 bit ODBC.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 12:57:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165097#M71030</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-14T12:57:51Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165248#M71031</link>
      <description>&lt;P&gt;I deleted everything and restarted my pc.&amp;nbsp; I followed the procedures again and it is now working.&amp;nbsp; Thanks for you help!&amp;nbsp; Kudos!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:39:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165248#M71031</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-14T16:39:10Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165424#M71034</link>
      <description>&lt;P&gt;I'm happy for that! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://ni.lithium.com/i/smilies/16x16_smiley-happy.gif" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;I was wondering what could be happening but didn't know where to get my hands on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;PS If you want to reward somebody with kudos you can click on the yellow star near the user name&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 22:18:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165424#M71034</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-14T22:18:54Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165574#M71038</link>
      <description>&lt;P&gt;I blame windows!!!&amp;nbsp; Now that I have the connection running I am sure I will have more posts!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:15:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165574#M71038</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-15T10:15:46Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165731#M71039</link>
      <description>&lt;P&gt;I can create a new record, update an existing record.&amp;nbsp; how do I determine if a record exists?&amp;nbsp; I have an ID (key) of lets say 12345.&amp;nbsp; what cvi sql function would I use?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:47:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165731#M71039</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-15T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165745#M71041</link>
      <description>&lt;P&gt;I'm not so fond on SQL&amp;nbsp;to know a direct command, but I would try with a DBIMmediateSQL (Select *&amp;nbsp;From MyTable WHERE key = '123456') followed by a&amp;nbsp;DBNumberOfRecords.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:13:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165745#M71041</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-15T15:13:24Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165817#M71042</link>
      <description>&lt;P&gt;ok, last question.&amp;nbsp; I am trying to delete a record with ID = 12345.&amp;nbsp; the example given in CVI is not that clear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my statement is DELETE FROM&amp;nbsp;TABLEX WHERE ID = 12345&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 16:12:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3165817#M71042</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-15T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3166104#M71047</link>
      <description>&lt;P&gt;Unless this is a typo, the correct command should&amp;nbsp;be enclosed in single quotation marks: DELETE FROM&amp;nbsp;TABLEX WHERE ID = &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/FONT&gt;12345&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Besides it, you could look at del_rec example that gets installed together with the sql toolkit, that shows both this method and an alternative one using tollkit commands instead.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:32:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3166104#M71047</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-16T07:32:51Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3166174#M71055</link>
      <description>&lt;P&gt;I'm up and running.&amp;nbsp; My issue was a typo in the sql statements.&amp;nbsp; I am using variables and a Fmt() function to create the string and introduced an error.&amp;nbsp; To quote the gremlin from bugs bunny, " These blockbuster bombs don't go off unless you hit them "just" right!"&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 10:50:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3166174#M71055</guid>
      <dc:creator>Joncombat</dc:creator>
      <dc:date>2015-07-16T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Rif.: access database connectivity</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3166221#M71057</link>
      <description>&lt;P&gt;Oh yeah! SQL is particularly oversensitive&amp;nbsp;to wrong semantics!&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://ni.lithium.com/i/smilies/16x16_smiley-wink.gif" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 12:01:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/access-database-connectivity/m-p/3166221#M71057</guid>
      <dc:creator>RobertoBozzolo</dc:creator>
      <dc:date>2015-07-16T12:01:13Z</dc:date>
    </item>
  </channel>
</rss>

