<?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: How to connect Inventor to PHC SQL Crystal Reports Database??? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3921763#M130935</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you be more precise about what you are looking for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is it that you call the Inventor db exactly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Philippe.&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2013 11:49:09 GMT</pubDate>
    <dc:creator>philippe.leefsma</dc:creator>
    <dc:date>2013-05-14T11:49:09Z</dc:date>
    <item>
      <title>How to connect Inventor to PHC SQL Crystal Reports Database???</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3912967#M130934</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Can someone tell me how to connect the Inventor db to PHC db ?&lt;/P&gt;&lt;P&gt;Its an SQL Crystal db on manufactor... but I dont know what is of the inventor...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gratefully,&lt;BR /&gt;Fred&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2013 09:48:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3912967#M130934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-08T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect Inventor to PHC SQL Crystal Reports Database???</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3921763#M130935</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you be more precise about what you are looking for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is it that you call the Inventor db exactly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Philippe.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2013 11:49:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3921763#M130935</guid>
      <dc:creator>philippe.leefsma</dc:creator>
      <dc:date>2013-05-14T11:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect Inventor to PHC SQL Crystal Reports Database???</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3935242#M130936</link>
      <description>&lt;P&gt;All the information codes that I put is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;Function ligasql()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;Dim nomeBancoDados, nomeUsuario, senha As String&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;nomeBancoDados = "ITAVARES"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;nomeUsuario = "fred"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;senha = "1234"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Declare variables'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Dim objMyConn As ADODB.Connection&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Dim objMyCmd As ADODB.Command&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Dim objMyRecordset As ADODB.Recordset&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;Set objMyConn = New ADODB.Connection&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Set objMyCmd = New ADODB.Command&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Set objMyRecordset = New ADODB.Recordset&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Open Connection'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; objMyConn.ConnectionString = "Provider=SQLOLEDB;Data Source=ITAVARES;User ID=fred;Password=1234;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; objMyConn.Open&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Set and Excecute SQL Command'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Set objMyCmd.ActiveConnection = objMyConn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; objMyCmd.CommandText = "select NUMOF from tabOf"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; objMyCmd.CommandType = adCmdText&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; objMyCmd.Execute&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Open Recordset'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; Set objMyRecordset.ActiveConnection = objMyConn&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; objMyRecordset.Open objMyCmd&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt; MsgBox (objMyRecordset.Index(1))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Dim db As database&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;'Dim strConnection As String&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Set ws = DBEngine.Workspaces(0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;'Let strConnection = "ODBC;DSN=ITAVARES;UID=fred;PWD=1234"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;'Set db = ws.OpenDatabase("", False, False, strConnection)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'"Data Source=ITAVARES;Provider= MSDASQL.1;Initial Catalog=Manit;Persist Security Info=True;User ID=fred;Password=1234; Option =3 "&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;' oConn.Open&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Dim rs As Recordset&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Set rs = db.openrecordset(NUMOF)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'Do While Not rs.EOF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;' intID = rs!IDField&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;' MsgBox (intID)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;' rs.MoveNext&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;'Loop&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'rs.Close&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;'Set rs = Nothing&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'rs.ActiveConnection = oConn&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;'rs.Open "SELECT * from tabOf"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;End Function&lt;/FONT&gt;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;FONT color="#000000"&gt;Im trying to connect to another table, but I cant make the MSGBOX appear with the "name" or the information of the table &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;FONT color="#000000"&gt;I dont understand to much of SQL xD&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2013 13:48:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3935242#M130936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-24T13:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect Inventor to PHC SQL Crystal Reports Database???</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3938489#M130937</link>
      <description>&lt;P&gt;Well, this forum focuses on Inventor API specific questions. What you are asking there seems to be more related to SQL/ADO. You may have more luck seeking advice on an ADO dedicated forum or directly browsing the web for some tutotrials.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for not being more helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Philippe.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2013 10:17:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-connect-inventor-to-phc-sql-crystal-reports-database/m-p/3938489#M130937</guid>
      <dc:creator>philippe.leefsma</dc:creator>
      <dc:date>2013-05-27T10:17:02Z</dc:date>
    </item>
  </channel>
</rss>

