Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
MySQL++ - Programming with the C++ API to MySQL
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Problem MySQL and MFC and Dynamic Cursors

Problem MySQL and MFC and Dynamic Cursors

2005-05-20       - By Stefan Eder

 Back
Hello,

We have the following problem.
We try to use MySQL with MFC (CDatabase & CRecordset) and have to use
dynamic cursors (dynamic or dynaset open type for CRecordset constructor).
In the documentation we found out that MySQL supports the usage of
dynamic cursors and we configured the ODBC source to support dynamic
cursors by checking the enable dynamic cursor flag, we tried several
different values for the connection options namely 32, but none of them
allowed us to open the CRecordset with opentype dynamic or dynaset.
The Reason was that the MySQL driver allways reports to support only
static cursors beeing queried by SQLGetInfo with SQL_SCROLL_OPTIONS.
Is there anything we have to consider to open an ODBC connection to
MySQL with MyODBC 3.51 that supports dynamic cursors that way that the
driver reports so on SQLGetInfo with SQL_SCROLL_OPTIONS?

Thank you and kind regards,
Stefan Eder


--
 
Stefan Eder
Vorstand - Director

ebuconnect AG
Stadttor 1
D-40219 D??sseldorf

Office Phone     +49-2181-2363-0
Phone     +49-2137-799797
Fax     +49-2181-2363-43
Mobile     +49-172-6050486

stefan.eder@(protected) <mailto:stefan.eder@(protected)>

www.ebuconnect.de <http://www.ebuconnect.de/>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
 <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
We have the following problem.<br>
We try to use MySQL with MFC (CDatabase &amp; CRecordset) and have to
use dynamic cursors (dynamic or dynaset open type for CRecordset
constructor).<br>
In the documentation we found out that MySQL supports the usage of
dynamic cursors and we configured the ODBC source to support dynamic
cursors by checking the enable dynamic cursor flag, we tried several
different values for the connection options namely 32, but none of them
allowed us to open the CRecordset with opentype dynamic or dynaset.<br>
The Reason was that the MySQL driver allways reports to support only
static cursors beeing queried by SQLGetInfo with SQL_SCROLL_OPTIONS.<br>
Is there anything we have to consider to open an ODBC connection to
MySQL with MyODBC 3.51 that supports dynamic cursors that way that the
driver reports so on SQLGetInfo with SQL_SCROLL_OPTIONS?<br>
<br>
Thank you and kind regards,<br>
Stefan Eder<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>MailSignature</title>
&nbsp;&nbsp; <small> <span>
<table
style="color: rgb(153, 153, 153); font-family: arial; font-size: small;">
 <tbody>
   <tr>
     <td colspan="2">Stefan Eder</td>
   </tr>
   <tr style="font-size: x-small;">
     <td colspan="2">Vorstand - Director</td>
   </tr>
   <tr>
     <td colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <td colspan="2">ebuconnect AG</td>
   </tr>
   <tr>
     <td colspan="2">Stadttor 1</td>
   </tr>
   <tr>
     <td colspan="2">D-40219 D&uuml;sseldorf</td>
   </tr>
   <tr>
     <td colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <td>Office Phone&nbsp;</td>
     <td>+49-2181-2363-0</td>
   </tr>
   <tr>
     <td>Phone&nbsp;</td>
     <td>+49-2137-799797</td>
   </tr>
   <tr>
     <td>Fax&nbsp;</td>
     <td>+49-2181-2363-43</td>
   </tr>
   <tr>
     <td>Mobile&nbsp;</td>
     <td>+49-172-6050486</td>
   </tr>
   <tr>
     <td colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <td colspan="2"> <a style="text-decoration: none;"
href="mailto:stefan.eder@(protected)">stefan.eder@(protected)</a> </td>
   </tr>
   <tr>
     <td colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <td colspan="2"> <a href="http://www.ebuconnect.de/"> <img
style="width: 166px; height: 66px;" alt="www.ebuconnect.de"
src="cid:part1.09060801.02080106@(protected)" border="0"> </a> </td>
   </tr>
 </tbody>
</table>
</span> </small></div>
</body>
</html>

Earn $52 per hosting referral at Lunarpages.