<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Report Control DataBind for SQL Lite</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report Control DataBind for SQL Lite]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 06:15:25 +0000</pubDate>
  <lastBuildDate>Fri, 10 Jul 2009 13:37:48 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14721</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Report Control DataBind for SQL Lite : I agree - virtual mode is most...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14721&amp;PID=50863&amp;title=report-control-databind-for-sql-lite#50863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14721<br /><strong>Posted:</strong> 10 July 2009 at 1:37pm<br /><br />I agree - virtual mode is most efficient way for custom solutions <DIV>&nbsp;</DIV><DIV>How you measure the memory used - this is your data - </DIV><DIV>No RS created: 19476 MB<BR>After SQLite RS: 21932 MB<BR>After setting datasource to GetADORsFromContent: 30740 MB</DIV><DIV>&nbsp;</DIV><DIV>Just be TaskManager?<BR></DIV>]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 13:37:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14721&amp;PID=50863&amp;title=report-control-databind-for-sql-lite#50863</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control DataBind for SQL Lite : Unfortunately GetADORsFromContent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14721&amp;PID=50862&amp;title=report-control-databind-for-sql-lite#50862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14721<br /><strong>Posted:</strong> 10 July 2009 at 1:35pm<br /><br />Unfortunately GetADORsFromContent more than triples the memory requirement (and doesn't seems to support bound edits back to the database). Better than nothing I guess, but limited in usefulness. If you are using non-ADO recordset data sources, you should probably stick with Virtual Mode and handle display/updates yourself.<br><br>]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 13:35:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14721&amp;PID=50862&amp;title=report-control-databind-for-sql-lite#50862</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control DataBind for SQL Lite : &amp;#039; Fixing the problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14721&amp;PID=50861&amp;title=report-control-databind-for-sql-lite#50861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14721<br /><strong>Posted:</strong> 10 July 2009 at 12:33pm<br /><br /><P>' Fixing the problem with DataBind under<BR>' "datenhaus GmbH" driver dhRichClient3.dll ver 3.0.0.1<BR>' and sqlite36_engine.dll</P><P>Option Explicit<BR>Private mo_Cnn As dhRichClient3.cConnection<BR>Private mo_Rs As dhRichClient3.cRecordset</P><P>Private Sub Form_Load()<BR>&nbsp;&nbsp; Dim l_Path As String: l_Path = App.Path &amp; "\sample.db"<BR>&nbsp;&nbsp; Dim l_Connected As Boolean<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; Set mo_Cnn = libFactory.C.Connection<BR>&nbsp;&nbsp; With mo_Cnn<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Create or open the database connection<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If LenB(Dir$(l_Path)) = 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' DB Doesn't exist, so create it<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l_Connected = .CreateNewDB(l_Path)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If l_Connected Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Add some sample records to the database<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .BeginTrans<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If .Execute("CREATE TABLE ""test"" (""id"" INTEGER PRIMARY KEY, ""title"" TEXT)") Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Execute "INSERT INTO test (title) VALUES ('Title1')"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Execute "INSERT INTO test (title) VALUES ('Title2')"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Execute "INSERT INTO test (title) VALUES ('Title3')"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Execute "INSERT INTO test (title) VALUES ('Title4')"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Execute "INSERT INTO test (title) VALUES ('Title5')"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CommitTrans<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' DB exists, so just open it<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l_Connected = .OpenDB(l_Path)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp; End With</P><P>&nbsp;&nbsp; Dim Record As ReportRecord<BR>&nbsp;&nbsp; Dim l_Binded As Boolean<BR>&nbsp;&nbsp; If l_Connected Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Open the sample recordset to bind to the report control.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_Rs = mo_Cnn.OpenRecordset("SELECT * FROM test")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not mo_Rs Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Bind the recordset to the reportcontrol and populate the control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With Me.ReportControl1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .DataManager<BR><FONT color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Set .DataSource = mo_Rs.DataSource&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'THIS IS WRONG WAY for THIS DRIVER - Recordset return -1 records<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set .DataSource = mo_Rs.GetADORsFromContent&nbsp;&nbsp;&nbsp; ' THIS IS PROPER WAY - Recordset return 5 records<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l_Binded = .DataBind<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp; End If<BR>End Sub<BR></P>]]>
   </description>
   <pubDate>Fri, 10 Jul 2009 12:33:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14721&amp;PID=50861&amp;title=report-control-databind-for-sql-lite#50861</guid>
  </item> 
 </channel>
</rss>