<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Data Access Worldwide Forums - Database Connectivity</title>
		<link>https://support.dataaccess.com/Forums/</link>
		<description>All things related to connecting and optimizing your DataFlex application with SQL databases.</description>
		<language>en</language>
		<lastBuildDate>Sat, 17 Oct 2026 17:58:10 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://support.dataaccess.com/Forums/images/misc/rss.png</url>
			<title>Data Access Worldwide Forums - Database Connectivity</title>
			<link>https://support.dataaccess.com/Forums/</link>
		</image>
		<item>
			<title>Cannot create connection DF 25</title>
			<link>https://support.dataaccess.com/Forums/showthread.php?73660-Cannot-create-connection-DF-25&amp;goto=newpost</link>
			<pubDate>Fri, 16 Oct 2026 19:18:44 GMT</pubDate>
			<description><![CDATA[DF25, SQL Express 2025 
 
I'm trying to create a connection to it - using Windows Auth. on a customer's server.  I can get to the point of choosing a...]]></description>
			<content:encoded><![CDATA[<div>DF25, SQL Express 2025<br />
<br />
I'm trying to create a connection to it - using Windows Auth. on a customer's server.  I can get to the point of choosing a DB, but none are listed.  Tried typing in the DB name, but then get a &quot;Cannot write to ini file&quot; error.<br />
<br />
Creating one for SQL Express 2014 creates one just fine &amp; lists the DBs.<br />
<br />
Is it a SQL 2025 issue?  Maybe rights on SQL Server?<br />
<br />
TIA</div>

]]></content:encoded>
			<category domain="https://support.dataaccess.com/Forums/forumdisplay.php?20-Database-Connectivity">Database Connectivity</category>
			<dc:creator>Garret Mott</dc:creator>
			<guid isPermaLink="true">https://support.dataaccess.com/Forums/showthread.php?73660-Cannot-create-connection-DF-25</guid>
		</item>
		<item>
			<title>DF 25: cSqlExecutor SQlSetParameter issue - Delayed Expression evaluation ?</title>
			<link>https://support.dataaccess.com/Forums/showthread.php?73653-DF-25-cSqlExecutor-SQlSetParameter-issue-Delayed-Expression-evaluation&amp;goto=newpost</link>
			<pubDate>Wed, 14 Oct 2026 14:09:03 GMT</pubDate>
			<description><![CDATA[Parametrized query  
Insert statement,  passing each column value as parameters  
 
 
Code: 
--------- 
Send SQLSetParameter of ghoSQLExecutor '?16'...]]></description>
			<content:encoded><![CDATA[<div>Parametrized query <br />
Insert statement,  passing each column value as parameters <br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Send SQLSetParameter of ghoSQLExecutor '?16' (Object_Label(Self))&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // OriginScreen</code><hr />
</div>This code is written inside a BPO <br />
At watches window,  (Object_Label(Self)) evaluates properly when breakpoint reaches this line. <br />
<a href="https://support.dataaccess.com/Forums/attachment.php?attachmentid=18361&amp;d=1791986796"  title="Name:  SqlExecutor_ObjectLabel_01.png
Views: 12
Size:  140.9 KB">SqlExecutor_ObjectLabel_01.png</a><br />
<br />
But, after the insert is executed..   I get a different value inserted in the column, the name of the SQL-Executor object instead.   !? <br />
<br />
<a href="https://support.dataaccess.com/Forums/attachment.php?attachmentid=18362&amp;d=1791986921"  title="Name:  SqlExecutor_ObjectLabel_02.jpg
Views: 12
Size:  29.0 KB">SqlExecutor_ObjectLabel_02.jpg</a></div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="https://support.dataaccess.com/Forums/images/attach/png.gif" alt="File Type: png" />
	<a href="https://support.dataaccess.com/Forums/attachment.php?attachmentid=18361&amp;d=1791986796">SqlExecutor_ObjectLabel_01.png</a> 
(140.9 KB)
</li><li>
	<img class="inlineimg" src="https://support.dataaccess.com/Forums/images/attach/jpg.gif" alt="File Type: jpg" />
	<a href="https://support.dataaccess.com/Forums/attachment.php?attachmentid=18362&amp;d=1791986921">SqlExecutor_ObjectLabel_02.jpg</a> 
(29.0 KB)
</li>
			</ul>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="https://support.dataaccess.com/Forums/forumdisplay.php?20-Database-Connectivity">Database Connectivity</category>
			<dc:creator>Samuel Pizarro</dc:creator>
			<guid isPermaLink="true">https://support.dataaccess.com/Forums/showthread.php?73653-DF-25-cSqlExecutor-SQlSetParameter-issue-Delayed-Expression-evaluation</guid>
		</item>
		<item>
			<title>DFDateToSQLDate and SQLDateToDFDate missing in cSQLExecutor</title>
			<link>https://support.dataaccess.com/Forums/showthread.php?73611-DFDateToSQLDate-and-SQLDateToDFDate-missing-in-cSQLExecutor&amp;goto=newpost</link>
			<pubDate>Thu, 24 Sep 2026 13:01:20 GMT</pubDate>
			<description>We lost these two handful functions (from cSQLStatement) in new cSqlExecutor.  
 
IT would be nice to have a similar thing</description>
			<content:encoded><![CDATA[<div>We lost these two handful functions (from cSQLStatement) in new cSqlExecutor. <br />
<br />
IT would be nice to have a similar thing</div>

]]></content:encoded>
			<category domain="https://support.dataaccess.com/Forums/forumdisplay.php?20-Database-Connectivity">Database Connectivity</category>
			<dc:creator>Samuel Pizarro</dc:creator>
			<guid isPermaLink="true">https://support.dataaccess.com/Forums/showthread.php?73611-DFDateToSQLDate-and-SQLDateToDFDate-missing-in-cSQLExecutor</guid>
		</item>
		<item>
			<title>DF26 cSQLExecutor with SQLite ODBC returns no rows</title>
			<link>https://support.dataaccess.com/Forums/showthread.php?73596-DF26-cSQLExecutor-with-SQLite-ODBC-returns-no-rows&amp;goto=newpost</link>
			<pubDate>Sun, 20 Sep 2026 21:58:02 GMT</pubDate>
			<description><![CDATA[I'm doing some initial testing with SQLite from DataFlex 26 for a possible new application. 
 
 
SQLite is connected through ODBC_DRV using a 64-bit...]]></description>
			<content:encoded><![CDATA[<div>I'm doing some initial testing with SQLite from DataFlex 26 for a possible new application.<br />
<br />
<br />
SQLite is connected through ODBC_DRV using a 64-bit SQLite3 ODBC driver and a DataFlex Connection ID of SQLLite.<br />
<br />
<br />
Normal DataFlex table access is working correctly. I can open the SQLite Person table, use a DataDictionary, find records and display/update them normally.<br />
<br />
<br />
However, I can't get cSQLExecutor to return any rows.<br />
<br />
<br />
The executor is defined as:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Use cSQLExecutor.pkg<br />
<br />
<br />
Object oSQLExecutor is a cSQLExecutor<br />
&nbsp; &nbsp; Set psConnectionId to &quot;SQLLite&quot;<br />
End_Object</code><hr />
</div><br />
For example:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">String[][] aData<br />
<br />
<br />
Get SQLExecDirect of oSQLExecutor &quot;SELECT * FROM Person&quot; to aData<br />
<br />
<br />
Showln &quot;Rows:&quot; (SizeOfArray(aData))<br />
Showln &quot;SQL State:&quot; (psSQLState(oSQLExecutor))<br />
Showln &quot;SQL Message:&quot; (psSQLMessage(oSQLExecutor))</code><hr />
</div><br />
This returns:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Rows: 0<br />
SQL State:<br />
SQL Message:</code><hr />
</div><br />
I also tried a very simple query:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">SELECT 123 AS TestValue</code><hr />
</div><br />
with the same result - zero rows and no SQL error/message.<br />
<br />
<br />
As a comparison, the traditional DataFlex CLI interface against the same open Person table works correctly:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Procedure TestSQLite<br />
&nbsp; &nbsp; Handle hoSQLManager hdbc hstmt<br />
&nbsp; &nbsp; Integer iFetch<br />
&nbsp; &nbsp; String sLastName<br />
<br />
<br />
&nbsp; &nbsp; Get Create (RefClass(cSQLHandleManager)) to hoSQLManager<br />
<br />
<br />
&nbsp; &nbsp; Get SQLFileConnect of hoSQLManager (RefTable(Person)) to hdbc<br />
&nbsp; &nbsp; Get SQLOpen of hdbc to hstmt<br />
<br />
<br />
&nbsp; &nbsp; Send SQLExecDirect of hstmt &quot;SELECT LastName FROM Person&quot;<br />
<br />
<br />
&nbsp; &nbsp; Repeat<br />
&nbsp; &nbsp; &nbsp; &nbsp; Get SQLFetch of hstmt to iFetch<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; If (iFetch &lt;&gt; 0) Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Get SQLColumnValue of hstmt 1 to sLastName<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Showln &quot;CLI row:&quot; sLastName<br />
&nbsp; &nbsp; &nbsp; &nbsp; End<br />
&nbsp; &nbsp; Until (iFetch = 0)<br />
<br />
<br />
&nbsp; &nbsp; Send SQLClose of hstmt<br />
&nbsp; &nbsp; Send SQLDisconnect of hdbc<br />
&nbsp; &nbsp; Send Destroy of hoSQLManager<br />
End_Procedure</code><hr />
</div><br />
That returns the expected Person records.<br />
<br />
<br />
So at this point I have:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Normal DataFlex table/DD access&nbsp; &nbsp; &nbsp;  Working<br />
Traditional CLI SQL access&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Working<br />
cSQLExecutor SQLExecDirect&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Returns no rows<br />
cSQLExecutor SQL error/message&nbsp; &nbsp; &nbsp; &nbsp; None</code><hr />
</div><br />
Has anyone used cSQLExecutor successfully with SQLite via ODBC_DRV?<br />
<br />
<br />
I'm particularly interested in whether cSQLExecutor has requirements or limitations that differ from<br />
 the traditional CLI interface when using a third-party ODBC driver, or whether there is something else required in the connection configuration.<br />
<br />
<br />
DataFlex 26, 64-bit SQLite ODBC driver.</div>

]]></content:encoded>
			<category domain="https://support.dataaccess.com/Forums/forumdisplay.php?20-Database-Connectivity">Database Connectivity</category>
			<dc:creator>Chris Spencer</dc:creator>
			<guid isPermaLink="true">https://support.dataaccess.com/Forums/showthread.php?73596-DF26-cSQLExecutor-with-SQLite-ODBC-returns-no-rows</guid>
		</item>
	</channel>
</rss>
