<?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: A question about LabSQL. in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457552#M221663</link>
    <description>&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;I don't know why it can't be loaded.&lt;/DIV&gt;
&lt;DIV&gt;I have just installed LabSQL and use LabVIEW 7.1.&lt;/DIV&gt;
&lt;DIV&gt;Is it the reason of LABSQL or LABVIEW7.1? How to fix it?&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
    <pubDate>Fri, 22 Dec 2006 09:29:22 GMT</pubDate>
    <dc:creator>hugoliang</dc:creator>
    <dc:date>2006-12-22T09:29:22Z</dc:date>
    <item>
      <title>A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457008#M221473</link>
      <description>&lt;DIV&gt;Dear All,&lt;/DIV&gt;
&lt;DIV&gt;I want to learn SQL and have just download LabSQL. But I have found that some vi is lost, such as,ADO Recordset Addnew.vi and ADO Set Field Value.vi.&lt;/DIV&gt;
&lt;DIV&gt;I have tried to use Invoke Node to do the Addnew task and&amp;nbsp;it can work well. But I don't know how about Set Field Value.&lt;/DIV&gt;
&lt;DIV&gt;Please give some suggestion.&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo.&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:12:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457008#M221473</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-21T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457026#M221477</link>
      <description>&lt;DIV&gt;Hi Hugo&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;They are not in my LabSQL install either, so I am not sure what you mean. Do you mean that these are functions you would like to have seen included in the LabSQL zip file but they are not there. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If I am understanding you then:-&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If you want to add a new record then it would be an INSERT query.&lt;/DIV&gt;
&lt;DIV&gt;If you want to update a field within a record then you would use an UPDATE query.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;using SQL Execute.vi&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Does that help?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;David&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:43:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457026#M221477</guid>
      <dc:creator>DavidJCrawford</dc:creator>
      <dc:date>2006-12-21T09:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457440#M221624</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;帖子被hugoliang在&lt;SPAN class="date_text"&gt;12-21-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:03 PM&lt;/SPAN&gt;时编辑过了&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 01:02:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457440#M221624</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-22T01:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457441#M221625</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you for your reply.&lt;/DIV&gt;
&lt;DIV&gt;I am sorry to say that my English is not good and I began to learn SQL yesterday.:(&lt;/DIV&gt;
&lt;DIV&gt;I have just learn how to use LabVIEW to add data to database from book step by step.&lt;/DIV&gt;
&lt;DIV&gt;And I can't to find ADO Recordset Addnew.vi and ADO Set Field Value.vi.(Someone said it can be found in Labview6.1)&lt;/DIV&gt;
&lt;DIV&gt;I tried to use Invoke Node to replace ADO Recordset Addnew and it can work.&lt;/DIV&gt;
&lt;DIV&gt;But I don't know how to replace ADO Set Field Value.&lt;/DIV&gt;
&lt;DIV&gt;The vi is attached.&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/221625/1/12.jpg" /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;&lt;P&gt;帖子被hugoliang在&lt;SPAN class="date_text"&gt;12-21-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:05 PM&lt;/SPAN&gt;时编辑过了&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 01:02:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457441#M221625</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-22T01:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457443#M221627</link>
      <description>&lt;DIV&gt;What exactly are you trying to do? Are you trying to retrieve data (as the select statement implies) or are you trying to add data to an existing table? If you are doing either, you should look at the shipping examples called Example - Fetch a Table or Example - Insert into a Table. With both of those, after you make the connection, you just need the SQL Execute function. It looks like you are making it more much more complex than it needs to be.&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Dec 2006 01:14:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457443#M221627</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2006-12-22T01:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457447#M221631</link>
      <description>&lt;DIV&gt;Oh,Thank you.&lt;/DIV&gt;
&lt;DIV&gt;I will learn the example.&lt;/DIV&gt;
&lt;DIV&gt;Thanks.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Dec 2006 01:41:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457447#M221631</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-22T01:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457504#M221645</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;I have just draw a vi using LabSQL and it can't work.&lt;/DIV&gt;
&lt;DIV&gt;warning is grammer is wrong.&lt;/DIV&gt;
&lt;DIV&gt;Could you tell me why?&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Dec 2006 07:20:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457504#M221645</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-22T07:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457518#M221651</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hugo&lt;/P&gt;
&lt;P&gt;The llb you posted cannot be loaded. Can you fix that and I will take a look at it with you?&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/221651/1/error.jpg" /&gt;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;&lt;P&gt;Message Edited by David Crawford on &lt;SPAN class="date_text"&gt;12-22-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:50 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 07:46:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457518#M221651</guid>
      <dc:creator>DavidJCrawford</dc:creator>
      <dc:date>2006-12-22T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457552#M221663</link>
      <description>&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;I don't know why it can't be loaded.&lt;/DIV&gt;
&lt;DIV&gt;I have just installed LabSQL and use LabVIEW 7.1.&lt;/DIV&gt;
&lt;DIV&gt;Is it the reason of LABSQL or LABVIEW7.1? How to fix it?&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Dec 2006 09:29:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457552#M221663</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-22T09:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457553#M221664</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hugo&lt;/P&gt;
&lt;P&gt;I forgot to say that&amp;nbsp;you&amp;nbsp;should to do a File -&amp;gt; Save with Options -&amp;gt; Development Distribution NOT Application Distribution as this strips the diagrams out of the VIs. That will get your llb into the right format.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/221664/1/devdist.jpg" /&gt;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;
&lt;P&gt;Message Edited by David Crawford on &lt;SPAN class="date_text"&gt;12-22-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:32 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by David Crawford on &lt;SPAN class="date_text"&gt;12-22-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:32 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 09:30:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457553#M221664</guid>
      <dc:creator>DavidJCrawford</dc:creator>
      <dc:date>2006-12-22T09:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457565#M221667</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;I am sorry that I don't understand the difference between the two format.&lt;/P&gt;
&lt;P&gt;Try this one.&lt;/P&gt;
&lt;P&gt;Thank you again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hugo&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 10:27:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457565#M221667</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-22T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457617#M221688</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;You said you would look at the examples but it is pretty obvious that you didn't. You have a SQL SELECT statement that implies you are trying to read all of the columns of the db. Then you have a bunch of strings that I think you are trying to add to the db. &lt;STRONG&gt;None of this is correct&lt;/STRONG&gt;. To repeat what I said before, look at the shipping examples. If you want to insert data, then after the Open Conn function, use a SQL Execute function with a statement like:&lt;/P&gt;
&lt;P&gt;INSERT INTO&amp;nbsp;tablename&lt;BR /&gt;&amp;nbsp;(column1name, column2name, column3name)&lt;BR /&gt;VALUES ('A', 'B', 'C');&lt;/P&gt;
&lt;P&gt;where column1 name, etc. is the actual names of the columns in your database and tablename is the actual name of the table in your database.&lt;/P&gt;
&lt;P&gt;Here's one of the shipping examples modified to the correct format for inserting 16 columns of data as you have. Replace with the name of your table and your column names. Also spend a little time studying SQL before trying anything.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 14:12:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457617#M221688</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2006-12-22T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457639#M221698</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hugo&lt;/P&gt;
&lt;P&gt;Here is a zip file that contains an access database, the udl file and a labview example that demonstates using INSERT, SELECT and UPDATE queries.&lt;/P&gt;
&lt;P&gt;Edit: Just realised that you will need to double click the udl file and change the path to where hugo.mdb is like this&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/221698/2/udl.png" /&gt;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;
&lt;P&gt;Message Edited by David Crawford on &lt;SPAN class="date_text"&gt;12-22-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:54 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by David Crawford on &lt;SPAN class="date_text"&gt;12-22-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:56 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2006 14:50:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457639#M221698</guid>
      <dc:creator>DavidJCrawford</dc:creator>
      <dc:date>2006-12-22T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: A question about LabSQL.</title>
      <link>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457857#M221778</link>
      <description>&lt;DIV&gt;David Crawford and Dennis Knutson,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you very very much for your help.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After reading your example vi, I begin to understand how to use SQL to solve the problem of database.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Dec 2006 07:18:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/A-question-about-LabSQL/m-p/457857#M221778</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-23T07:18:17Z</dc:date>
    </item>
  </channel>
</rss>

