<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using MySQL, Visual Basic 6, and Crystal Reports 9</title>
	<atom:link href="http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vbmysql.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 07 Jan 2011 12:23:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: dr_b3ck</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1557</link>
		<dc:creator>dr_b3ck</dc:creator>
		<pubDate>Mon, 13 Dec 2010 14:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1557</guid>
		<description>a really great tutorial.. it&#039;s so easy to understand thank you very much.. but i have some question about this line :

report.DiscardSavedData                         &#039;CLEARS REPORT SO WE WORK FROM RECORDSET
report.Database.SetDataSource rs        &#039;LINK REPORT TO RECORDSET ----------&gt; especially this one

is it possible to set multiple recordset to a report.Database.SetDataSource ?

i want to create a report using multiple: 2-3 table source ttf file.
Do you have any reference on how to solve this kind of problem?

thanks b4</description>
		<content:encoded><![CDATA[<p>a really great tutorial.. it&#8217;s so easy to understand thank you very much.. but i have some question about this line :</p>
<p>report.DiscardSavedData                         &#8216;CLEARS REPORT SO WE WORK FROM RECORDSET<br />
report.Database.SetDataSource rs        &#8216;LINK REPORT TO RECORDSET &#8212;&#8212;&#8212;-&gt; especially this one</p>
<p>is it possible to set multiple recordset to a report.Database.SetDataSource ?</p>
<p>i want to create a report using multiple: 2-3 table source ttf file.<br />
Do you have any reference on how to solve this kind of problem?</p>
<p>thanks b4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CHANDU</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1556</link>
		<dc:creator>CHANDU</dc:creator>
		<pubDate>Wed, 10 Nov 2010 09:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1556</guid>
		<description>I REQUIRE CRYSTAL REPORT</description>
		<content:encoded><![CDATA[<p>I REQUIRE CRYSTAL REPORT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iDoeR</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1555</link>
		<dc:creator>iDoeR</dc:creator>
		<pubDate>Mon, 01 Nov 2010 07:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1555</guid>
		<description>@LoveJ :
i am using ms access database with CRViewer in a form with CrystalReport designer in another form
also using connection ADODC via code, SELEKSI is string for the range, awl_T as start date and akh_T as end date,
RJual is CrytalReport Design Form

        SELEKSI = &quot;{ado.Tanggal} in DateTime (&quot; &amp; Year(awl_T.Text) &amp; &quot;, &quot; &amp; _
        Month(awl_T.Text) &amp; &quot;, &quot; &amp; Day(awl_T.Text) &amp; &quot;, 00, 00, 00) to DateTime (&quot; &amp; _
        Year(akh_T.Text) &amp; &quot;, &quot; &amp; Month(akh_T.Text) &amp; &quot;, &quot; &amp; Day(akh_T.Text) &amp; &quot;, 00, 00, 00)&quot;

    RJual.RecordSelectionFormula = SELEKSI
    CRViewer1.ReportSource = RJual
    CRViewer1.ViewReport</description>
		<content:encoded><![CDATA[<p>@LoveJ :<br />
i am using ms access database with CRViewer in a form with CrystalReport designer in another form<br />
also using connection ADODC via code, SELEKSI is string for the range, awl_T as start date and akh_T as end date,<br />
RJual is CrytalReport Design Form</p>
<p>        SELEKSI = &#8220;{ado.Tanggal} in DateTime (&#8221; &amp; Year(awl_T.Text) &amp; &#8220;, &#8221; &amp; _<br />
        Month(awl_T.Text) &amp; &#8220;, &#8221; &amp; Day(awl_T.Text) &amp; &#8220;, 00, 00, 00) to DateTime (&#8221; &amp; _<br />
        Year(akh_T.Text) &amp; &#8220;, &#8221; &amp; Month(akh_T.Text) &amp; &#8220;, &#8221; &amp; Day(akh_T.Text) &amp; &#8220;, 00, 00, 00)&#8221;</p>
<p>    RJual.RecordSelectionFormula = SELEKSI<br />
    CRViewer1.ReportSource = RJual<br />
    CRViewer1.ViewReport</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie Goulet</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1554</link>
		<dc:creator>Julie Goulet</dc:creator>
		<pubDate>Thu, 28 Oct 2010 15:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1554</guid>
		<description>I need to make one time automated testing for many reports with Crystal Reports 9.0 with Microsoft SqL 2005 server.  How do I work to use ?

Thank you</description>
		<content:encoded><![CDATA[<p>I need to make one time automated testing for many reports with Crystal Reports 9.0 with Microsoft SqL 2005 server.  How do I work to use ?</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LoveJ</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1553</link>
		<dc:creator>LoveJ</dc:creator>
		<pubDate>Mon, 18 Oct 2010 00:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1553</guid>
		<description>i need to know how to set up parameters using vb6 to select a date range for records for a crystal report display on a mysql database platform</description>
		<content:encoded><![CDATA[<p>i need to know how to set up parameters using vb6 to select a date range for records for a crystal report display on a mysql database platform</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reed Graft</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1552</link>
		<dc:creator>Reed Graft</dc:creator>
		<pubDate>Mon, 11 Oct 2010 13:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1552</guid>
		<description>Man - there are some rude bastards on the roads today. Particularly one Merc driver</description>
		<content:encoded><![CDATA[<p>Man &#8211; there are some rude bastards on the roads today. Particularly one Merc driver</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1551</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Thu, 07 Oct 2010 12:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1551</guid>
		<description>Hi i have a problem with my code it did not run can you help me
heres the code..
Private Sub Command1_Click()
  &#039;Define the three objects that we need,
  &#039;   A Connection Object - connects to our data source
  &#039;   A Command Object - defines what data to get from the data source
  &#039;   A RecordSet Object - stores the data we get from our data source

  Dim conConnection As New ADODB.Connection
  Dim cmdCommand As New ADODB.Command
  Dim rstRecordSet As New ADODB.Recordset


  &#039;Defines the connection string for the Connection.  Here we have used fields
  &#039;Provider, Data Source and Mode to assign values to the properties
  &#039; conConnection.Provider and conConnection.Mode

  conConnection.ConnectionString = &quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot; &amp; _
      App.Path &amp; &quot;\&quot; &amp; &quot;database.mdb;Mode=Read&#124;Write&quot;


  &#039;Define the location of the cursor engine, in this case we are opening an Access database
  &#039;and adUseClient is our only choice.

  conConnection.CursorLocation = adUseClient


  &#039;Opens our connection using the password &quot;Admin&quot; to access the database.  If there was no password
  &#039;protection on the database this field could be left out.

  conConnection.Open


  &#039;Defines our command object

  &#039; .ActiveConnection tells the command to use our newly created command object.
  &#039; .CommandText tells the command how to get the data, in this case the command
  &#039;              will evaluate the text as an SQL string and we will return all
  &#039;              records from a table called tabTestTable
  &#039; .CommandType tells the command to evaluate the .CommandText property as an SQL string.

  With cmdCommand
    .ActiveConnection = conConnection
    .CommandText = &quot;SELECT * FROM tabTestTable;&quot;
    .CommandType = adCmdText
  End With

  &#039;Defines our RecordSet object.

  &#039;  .CursorType sets a static cursor, the only choice for a client side cursor
  &#039;  .CursorLocation sets a client side cursor, the only choice for an Access database
  &#039;  .LockType sets an optimistic lock type
  &#039;  .Open executes the cmdCommand object against the data source and stores the
  &#039;        returned records in our RecordSet object.

  With rstRecordSet
    .CursorType = adOpenStatic
    .CursorLocation = adUseClient
    .LockType = adLockOptimistic
    .Open cmdCommand
  End With

  &#039;Firstly test to see if any records have been returned, if some have been returned then
  &#039;the .EOF property of the RecordSet will be false, if none have been returned then the
  &#039;property will be true.

  If rstRecordSet.EOF = False Then

    &#039;Move to the first record

    rstRecordSet.MoveFirst

    &#039;Lets move through the records one at a time until we reach the last record
    &#039;and print out the values of each field

    Do

      &#039;Access the field values using the fields collection and print them to a message box.
      &#039;In this case I do not know what you might call the columns in your database so this
      &#039;is the safest way to do it.  If I did know the names of the columns in your table
      &#039;and they were called &quot;Column1&quot; and &quot;Column2&quot; I could reference their values using:

      &#039;  rstRecordSet!Column1
      &#039;  rstRecordSet!Column2


      MsgBox &quot;Record &quot; &amp; rstRecordSet.AbsolutePosition &amp; &quot; &quot; &amp; _
          rstRecordSet.Fields(0).Name &amp; &quot;=&quot; &amp; rstRecordSet.Fields(0) &amp; &quot; &quot; &amp; _
          rstRecordSet.Fields(1).Name &amp; &quot;=&quot; &amp; rstRecordSet.Fields(1)

      &#039;Move to the next record

      rstRecordSet.MoveNext
    Loop Until rstRecordSet.EOF = True

    &#039;Add a new record

    With rstRecordSet
      .AddNew
      .Fields(0) = &quot;New&quot;
      .Fields(1) = &quot;Record&quot;
      .Update
    End With

    &#039;Move back to the first record and delete it

    rstRecordSet.MoveFirst
    rstRecordSet.Delete
    rstRecordSet.Update


    &#039;Close the recordset

    rstRecordSet.Close
  Else
    MsgBox &quot;No records were returned using the query &quot; &amp; cmdCommand.CommandText
  End If

  &#039;Close the connection

  conConnection.Close

  &#039;Release your variable references

  Set conConnection = Nothing
  Set cmdCommand = Nothing
  Set rstRecordSet = Nothing
End Sub</description>
		<content:encoded><![CDATA[<p>Hi i have a problem with my code it did not run can you help me<br />
heres the code..<br />
Private Sub Command1_Click()<br />
  &#8216;Define the three objects that we need,<br />
  &#8216;   A Connection Object &#8211; connects to our data source<br />
  &#8216;   A Command Object &#8211; defines what data to get from the data source<br />
  &#8216;   A RecordSet Object &#8211; stores the data we get from our data source</p>
<p>  Dim conConnection As New ADODB.Connection<br />
  Dim cmdCommand As New ADODB.Command<br />
  Dim rstRecordSet As New ADODB.Recordset</p>
<p>  &#8216;Defines the connection string for the Connection.  Here we have used fields<br />
  &#8216;Provider, Data Source and Mode to assign values to the properties<br />
  &#8216; conConnection.Provider and conConnection.Mode</p>
<p>  conConnection.ConnectionString = &#8220;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&#8221; &amp; _<br />
      App.Path &amp; &#8220;\&#8221; &amp; &#8220;database.mdb;Mode=Read|Write&#8221;</p>
<p>  &#8216;Define the location of the cursor engine, in this case we are opening an Access database<br />
  &#8216;and adUseClient is our only choice.</p>
<p>  conConnection.CursorLocation = adUseClient</p>
<p>  &#8216;Opens our connection using the password &#8220;Admin&#8221; to access the database.  If there was no password<br />
  &#8216;protection on the database this field could be left out.</p>
<p>  conConnection.Open</p>
<p>  &#8216;Defines our command object</p>
<p>  &#8216; .ActiveConnection tells the command to use our newly created command object.<br />
  &#8216; .CommandText tells the command how to get the data, in this case the command<br />
  &#8216;              will evaluate the text as an SQL string and we will return all<br />
  &#8216;              records from a table called tabTestTable<br />
  &#8216; .CommandType tells the command to evaluate the .CommandText property as an SQL string.</p>
<p>  With cmdCommand<br />
    .ActiveConnection = conConnection<br />
    .CommandText = &#8220;SELECT * FROM tabTestTable;&#8221;<br />
    .CommandType = adCmdText<br />
  End With</p>
<p>  &#8216;Defines our RecordSet object.</p>
<p>  &#8216;  .CursorType sets a static cursor, the only choice for a client side cursor<br />
  &#8216;  .CursorLocation sets a client side cursor, the only choice for an Access database<br />
  &#8216;  .LockType sets an optimistic lock type<br />
  &#8216;  .Open executes the cmdCommand object against the data source and stores the<br />
  &#8216;        returned records in our RecordSet object.</p>
<p>  With rstRecordSet<br />
    .CursorType = adOpenStatic<br />
    .CursorLocation = adUseClient<br />
    .LockType = adLockOptimistic<br />
    .Open cmdCommand<br />
  End With</p>
<p>  &#8216;Firstly test to see if any records have been returned, if some have been returned then<br />
  &#8216;the .EOF property of the RecordSet will be false, if none have been returned then the<br />
  &#8216;property will be true.</p>
<p>  If rstRecordSet.EOF = False Then</p>
<p>    &#8216;Move to the first record</p>
<p>    rstRecordSet.MoveFirst</p>
<p>    &#8216;Lets move through the records one at a time until we reach the last record<br />
    &#8216;and print out the values of each field</p>
<p>    Do</p>
<p>      &#8216;Access the field values using the fields collection and print them to a message box.<br />
      &#8216;In this case I do not know what you might call the columns in your database so this<br />
      &#8216;is the safest way to do it.  If I did know the names of the columns in your table<br />
      &#8216;and they were called &#8220;Column1&#8243; and &#8220;Column2&#8243; I could reference their values using:</p>
<p>      &#8216;  rstRecordSet!Column1<br />
      &#8216;  rstRecordSet!Column2</p>
<p>      MsgBox &#8220;Record &#8221; &amp; rstRecordSet.AbsolutePosition &amp; &#8221; &#8221; &amp; _<br />
          rstRecordSet.Fields(0).Name &amp; &#8220;=&#8221; &amp; rstRecordSet.Fields(0) &amp; &#8221; &#8221; &amp; _<br />
          rstRecordSet.Fields(1).Name &amp; &#8220;=&#8221; &amp; rstRecordSet.Fields(1)</p>
<p>      &#8216;Move to the next record</p>
<p>      rstRecordSet.MoveNext<br />
    Loop Until rstRecordSet.EOF = True</p>
<p>    &#8216;Add a new record</p>
<p>    With rstRecordSet<br />
      .AddNew<br />
      .Fields(0) = &#8220;New&#8221;<br />
      .Fields(1) = &#8220;Record&#8221;<br />
      .Update<br />
    End With</p>
<p>    &#8216;Move back to the first record and delete it</p>
<p>    rstRecordSet.MoveFirst<br />
    rstRecordSet.Delete<br />
    rstRecordSet.Update</p>
<p>    &#8216;Close the recordset</p>
<p>    rstRecordSet.Close<br />
  Else<br />
    MsgBox &#8220;No records were returned using the query &#8221; &amp; cmdCommand.CommandText<br />
  End If</p>
<p>  &#8216;Close the connection</p>
<p>  conConnection.Close</p>
<p>  &#8216;Release your variable references</p>
<p>  Set conConnection = Nothing<br />
  Set cmdCommand = Nothing<br />
  Set rstRecordSet = Nothing<br />
End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josef</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1550</link>
		<dc:creator>josef</dc:creator>
		<pubDate>Mon, 04 Oct 2010 13:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1550</guid>
		<description>how to code syntax of &quot;like&quot; in vb 6.0? tnx</description>
		<content:encoded><![CDATA[<p>how to code syntax of &#8220;like&#8221; in vb 6.0? tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ishitaq Ahmed</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1549</link>
		<dc:creator>Ishitaq Ahmed</dc:creator>
		<pubDate>Mon, 20 Sep 2010 13:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1549</guid>
		<description>You helped me .. thanks alot</description>
		<content:encoded><![CDATA[<p>You helped me .. thanks alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cha</title>
		<link>http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9#comment-1548</link>
		<dc:creator>cha</dc:creator>
		<pubDate>Thu, 16 Sep 2010 10:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.vbmysql.com/articles/vb6-mysql/using-mysql-visual-basic-6-and-crystal-reports-9/#comment-1548</guid>
		<description>We are using vb 6.0 and ms access in our school... our prof wants us to embeed mysql database to vb 6.0.. how are we going to do that? we required to rendered a report in vb 6.0(hard-coded) using data report, crystal report, PDF report and ms excel... and using odbc connection for lan-based application... pls help me doing this... i want to learn how to use this because it will help us in doing our system... thanx po.. this is my email: cha_alyza@yahoo.com</description>
		<content:encoded><![CDATA[<p>We are using vb 6.0 and ms access in our school&#8230; our prof wants us to embeed mysql database to vb 6.0.. how are we going to do that? we required to rendered a report in vb 6.0(hard-coded) using data report, crystal report, PDF report and ms excel&#8230; and using odbc connection for lan-based application&#8230; pls help me doing this&#8230; i want to learn how to use this because it will help us in doing our system&#8230; thanx po.. this is my email: <a href="mailto:cha_alyza@yahoo.com">cha_alyza@yahoo.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

