<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - DBF, dBASE, FoxPro, Clipper, xBASE</title>
        <description>Forum for DBF, dBASE, FoxPro, Clipper, xBASE</description>
        <link>http://forums.mysql.com/list.php?126</link>
        <lastBuildDate>Fri, 24 May 2013 22:23:23 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?126,586466,586466#msg-586466</guid>
            <title>Can not connect mysql to foxpro (7 replies)</title>
            <link>http://forums.mysql.com/read.php?126,586466,586466#msg-586466</link>
            <description><![CDATA[ Hiii<br />
<br />
I want to connect foxpro to MySql and also succeed in it. But, it returns error &quot;CONNECTION HANDLE IS INVALID&quot; after formating my computer , i have already install mysql odbc connecter 5.2.5 and connectionstring is as below<br />
<br />
SQLstringCONNECT(&quot;Driver={MySQL ODBC 5.1 Driver};Server=localhost;Database=dashboard;User=root;&quot;)<br />
<br />
but it cant work..<br />
have you any option to connect it..]]></description>
            <dc:creator>gopal joshi</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Tue, 21 May 2013 13:42:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,582310,582310#msg-582310</guid>
            <title>MySQL Connector/ODBC 5.2 crashes with Foxpro 9 Remote Views and CursorAdapters (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,582310,582310#msg-582310</link>
            <description><![CDATA[ Hi Community,<br />
<br />
I tried out the MySQL ODBC client Version 5.2 with a Visual Foxpro 9 based application. Using a CursorAdapter (or remote view) crashes the whole application (no specific error message, just a GPF) on the &quot;cursorfill&quot; method of the Cursor Adapter. The same application works fine and stable with MySQL ODBC 5.1 (any version). Also SQL-passthrough commands (SQLEXEC) seem to work without problems. I tried out several options including &quot;no_ssps&quot; without effect. <br />
There must be a behaviour change in the ODBC 5.2 Client that leads to the crash. <br />
<br />
Thank you very much for any suggestions!<br />
<br />
PS: The Crash occurs with both client Versions 5.2a and 5.2w<br />
<br />
Environment:<br />
* MySQL Community Edition 5.6 (tried 5.1,5.5 also) 64Bit<br />
* Windows 7 64Bit<br />
* MySQL ODBC 5.2.4 32Bit<br />
* VFP 9.0 SP1 Build 7423<br />
<br />
<br />
<br />
Kind regards<br />
Gerold]]></description>
            <dc:creator>Gerold Lübben</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 23 May 2013 11:39:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,575519,575519#msg-575519</guid>
            <title>Connection Timing out (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,575519,575519#msg-575519</link>
            <description><![CDATA[ I am a newbie to this forum, so sorry if this is posted in the wrong group.<br />
<br />
I have an existing dBase desktop app that connects remotely to my MySQL server.<br />
<br />
Client Computer:<br />
  MS Xp  32 bit<br />
  MySQL ODBC connector 3.51.29<br />
  dBase 2.61.3<br />
  BDE 5.01<br />
<br />
MySQL Server:<br />
  MS Xp 32 bit<br />
  MySQL 5.0.27-comunity-nt via TCP/IP<br />
<br />
Recently we upgraded our connection lines between the two buildings housing the client machines (3 clients) and the MySQL server.  Our previous connection was a 384K (sharing both data and phone traffic), the new connection is 3Mb (data only).<br />
<br />
The app has run for about 3 years with no problems.  Once the upgraded phone line was installed the app (on all three workstations) started to drop the connection between the client and server.  Error messages like these come up &quot;Lost connection to server&quot; or &quot;Server has gone away&quot;.<br />
<br />
Initially I had no error trapping.  So when the error occured the user was kicked out of the program.  The data is stored in a local dbf table before transmission to the MySQL server. When the user reloads the app and resend the data, it is done instantly. <br />
<br />
I added an try/catch error trap and looped 100 times before timing out with minimal success.<br />
<br />
I am not sure if this is a dBase, BDE or ODBC problem.  I can capture the error and I may even get that to work eventhough I don't understand the problem.  But the timing out process is too long 30 to 45 seconds.<br />
<br />
Can the MySQL ODBC driver be set to shorten the time out problem?<br />
<br />
I do not want to make adjustments to the MySQL server if possible.  I have both dBase and php Web apps that connect with no problem to the server.<br />
<br />
Any suggestions will be appreciated.]]></description>
            <dc:creator>Claus Mygind</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Fri, 07 Dec 2012 13:36:50 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,533227,533227#msg-533227</guid>
            <title>Foxpro Remote MySQL Connectivity (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,533227,533227#msg-533227</link>
            <description><![CDATA[ hi,<br />
i hav written following code in foxpro to connect with remote mysql database.<br />
<br />
<br />
lcStringConn=&quot;Driver={MySQL ODBC 3.51 Driver};Port=3306;Server=192.168.0.13;Database=test;Uid=root;&quot;<br />
SQLSETPROP(0,&quot;DispLogin&quot;,3)<br />
lnHandle=SQLSTRINGCONNECT(lcStringConn)<br />
MyQry=&quot;select * from table1&quot;<br />
SQLEXEC(lnHandle, MyQry ,&quot;MyView&quot;)<br />
SELECT MyView<br />
BROWSE<br />
<br />
<br />
secondly, i have disabled the firewall as well. <br />
but still unable to connect with remote mysql database. can someone please guide? thanks in advance]]></description>
            <dc:creator>adeel iqbal</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Wed, 06 Jun 2012 21:23:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,504884,504884#msg-504884</guid>
            <title>End of Life FoxPRO/DBF Question (3 replies)</title>
            <link>http://forums.mysql.com/read.php?126,504884,504884#msg-504884</link>
            <description><![CDATA[ Recently had a &quot;new&quot; transition project was volun-told into my lap and I can't find the answer to the last question...<br />
<br />
My Client is and has been running on a FoxPRO /DBF database since the early '90s and they have almost 98,000 records in a single FoxPRO/DBF data table.  The client's question was, and I quote: &quot;Back in the 90's we paid [Name Redacted] to build this *Explitive Deleted* thing and they said it would never run out of room... Why should we convert it over to something new?&quot;<br />
<br />
Here's the catch, the key index value (the only unique data value in the table) is limted to 6 digits in length... So what happens when record number 100,000 is entered?  Does the world come crashing down around them?  Will FoxPRO/DBF refuse to accept the data entry?  Will the key value rest to 000001?  After many hours of Googling, I have found exactly nothing... Any help would be greatly appreciated.<br />
<br />
-Chris]]></description>
            <dc:creator>Christopher Cook</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Mon, 26 Dec 2011 12:22:25 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,499155,499155#msg-499155</guid>
            <title>Date Problems (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,499155,499155#msg-499155</link>
            <description><![CDATA[ Hello,<br />
<br />
I have an old foxpro program however this year it is being funny with dates saying incorrect date.<br />
<br />
I think the person who created this program wanted to dates to stop the program working this year.<br />
<br />
Is there anyway of getting this to work?<br />
<br />
Is there a separate file for the calendar that could be edited / replaced maybe? <br />
<br />
Thanks,<br />
<br />
Jack.]]></description>
            <dc:creator>Jack Brown</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Wed, 16 Nov 2011 01:18:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,494601,494601#msg-494601</guid>
            <title>JOIN &amp; Query Problem - unique indexes &amp; PKs, converting FoxPro to MySQL (2 replies)</title>
            <link>http://forums.mysql.com/read.php?126,494601,494601#msg-494601</link>
            <description><![CDATA[ Our company has live data in a FoxPro 9 source database whose structure and functions cannot be edited - it is part of an application we purchased 15 years ago that will soon no longer be supported.<br />
<br />
I am using DB Sync to synchronize tables from the FoxPro DBCs (Windows XP) to MySQL 5.0.92 (Mac Snow Leopard Server) with PHP 5.3.6, to allow more robust reporting with our other systems, including shipping, until we can move everything from the old application to a new PHP/MySQL ERP system.<br />
<br />
The FoxPro 9 database does not have Primary Keys (I believe PK indexing is stored in FoxPro CDX files).  DB Sync allows me to create Unique Indexes to compensate.<br />
<br />
The data sync seems to work just fine.<br />
The problem is trying to create a JOIN for a query.  I can JOIN with Unique Indexes (UI), but the UIs that should match, don't match, because one UI has a length of 8 with 3 spaces before the data, and the other UI has a length of 12 with 7 spaces before the data.<br />
<br />
I confess that I am at a loss for figuring out which direction to go to make this work.<br />
<br />
Any ideas?]]></description>
            <dc:creator>Grind Stone</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 03 Nov 2011 18:04:20 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,430265,430265#msg-430265</guid>
            <title>Vfpro Application connects to mysql db online (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,430265,430265#msg-430265</link>
            <description><![CDATA[ My programmer created a business application for me.  It's great but it sits on my server which is not a publicly available server (no public IP).<br />
<br />
I have a webserver that I &quot;rent&quot; a space on where I can create mysql db under a domain.  <br />
<br />
What I would like is my programmer to create &quot;some sort of app-connection&quot; that will take certain data from the vfpro database on my private server and post it to the web server db where I created a table for the data I'm interested in.<br />
<br />
I'm guessing he would make a procedure to be called perhaps every 30 days (I don't need it daily) that will query the vfp db and write to mysql db online.<br />
<br />
My questions are:<br />
<br />
1.  Is it doable?<br />
2.  What program or extra windows/vfp app/module will he need to make the web connection from my win2003 server to the web mysql db?]]></description>
            <dc:creator>Mars Val</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 11 Aug 2011 02:27:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,398522,406914#msg-406914</guid>
            <title>Re: Synchronization MySql to Foxpro (-1 replies)</title>
            <link>http://forums.mysql.com/read.php?126,398522,406914#msg-406914</link>
            <description><![CDATA[ Not Found<br />
The requested URL /pricing.htm was not found on this server.<br />
<br />
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.<br />
<br />
<br />
<br />
HARDLY A RINGING ENDORSEMENT FOR YOUR COMPANY WHEN THE FIRST BUTTON I HAPPEN TO CLICK CRASHES THE WEB SITE!]]></description>
            <dc:creator>David Ickringill</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Wed, 09 Feb 2011 18:55:45 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,390931,390931#msg-390931</guid>
            <title>foxpro translation (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,390931,390931#msg-390931</link>
            <description><![CDATA[ I have a query that works right in Foxpro<br />
<br />
Select Sum(invoiceitems.sprice * invoiceitems.quantity *<br />
invoiceitems.share) From invoiceitems, invoice Where<br />
invoiceitems.siteid = invoice.siteid And invoiceitems.invoiceid =<br />
invoice.id And (invoice.pending = false And invoice.islay = false)<br />
<br />
In MySql it gets a huge negative number.<br />
<br />
sprice*qantity gets 1209.88.  share is a percentage.  So the result of<br />
the above query should be something less than 1209, but positive.<br />
<br />
Can somebody give me an idea of how this should be done in mysql?]]></description>
            <dc:creator>Gleason Pace</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 21 Oct 2010 14:15:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,360419,360419#msg-360419</guid>
            <title>odbc driver problem (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,360419,360419#msg-360419</link>
            <description><![CDATA[ hi,<br />
<br />
i have foxpro database , and i am connecting it through jdbc-odbc connenctivity in java programme.<br />
<br />
i just want to know the foreign key of each table into that database , i am trying to retrive the foreign key information by using getExportedKeys() function .<br />
But it throwing an exception as follow :<br />
<br />
xception in thread &quot;main&quot; java.sql.SQLException: [Microsoft][ODBC Driver Manager] Driver does not support this function<br />
<br />
please let me know , what is exact problem .. Thanks]]></description>
            <dc:creator>Prem Jain</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Fri, 26 Mar 2010 06:19:39 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,359809,359809#msg-359809</guid>
            <title>mapping (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,359809,359809#msg-359809</link>
            <description><![CDATA[ with which data type of mysql could i map general and memo data type of foxpro]]></description>
            <dc:creator>Prem Jain</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Tue, 23 Mar 2010 07:05:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,359691,359691#msg-359691</guid>
            <title>How to use FoxPro database for MySQL ? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,359691,359691#msg-359691</link>
            <description><![CDATA[ Hi,<br />
<br />
I am used to foxpro database and have taken backup now i want to use MySQL so how to get it work for me.<br />
<br />
<a href="http://www.zealousweb.net/"  rel="nofollow"><u><b>Designing Website India</b></u></a> | <a href="http://www.zealousweb.net/"  rel="nofollow"><u><b>Web Development India</b></u></a>]]></description>
            <dc:creator>SMO ZWT</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Tue, 23 Mar 2010 00:22:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,359133,359133#msg-359133</guid>
            <title>column problem (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,359133,359133#msg-359133</link>
            <description><![CDATA[ Hi, i am using jdbc-odbc driver to connect to fox pro database.<br />
<br />
i just want to know max width of value stored in particular column.<br />
Let me explain you ..<br />
<br />
suppose there is column first_name and width allocated for that column is 20 , now suppose if there is data of length 10 max in that column , i just want to find out that data with its width . So how can i find it out]]></description>
            <dc:creator>Prem Jain</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 18 Mar 2010 11:44:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,357510,357510#msg-357510</guid>
            <title>.CAT file (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,357510,357510#msg-357510</link>
            <description><![CDATA[ I need to open and edit a file with the .CAT extension. Searching over google I've found that this file extension is a dbase file (dbase catalaog file), but haven't been able to open it from anything esle than a notepad....<br />
Thanks in advance.<br />
Luis M. Valenzuela]]></description>
            <dc:creator>Luis Miguel Valenzuela</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Mon, 08 Mar 2010 18:28:46 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,356664,356664#msg-356664</guid>
            <title>data migration (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,356664,356664#msg-356664</link>
            <description><![CDATA[ hi , i just want to know the schema  from foxpro database(which contains .dbc file)  i am using jdbc-odbc driver to connect to foxpro database but , i am able to find out table name, column name and primary key , but unable to find data type ,width, forign key constraint , please help me out <br />
<br />
Thanks in advance]]></description>
            <dc:creator>Prem Jain</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 04 Mar 2010 21:52:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,356086,356086#msg-356086</guid>
            <title>Trying to update two remote views (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,356086,356086#msg-356086</link>
            <description><![CDATA[ I have a VFP 9.0 application with ODBC to MySQL. There are is a table in MySQL. I have a remote view to that table. I added the view twice to the data environment of my form. <br />
<br />
On the form, the user enters records into one of the remote views.<br />
<br />
Before saving, I copy all the records into the other view and make some changes to the data in that view.<br />
<br />
Then I try to update both views. I time out on the write.<br />
<br />
I think this has something to do with persistent or non-persistent connections.<br />
<br />
Can some one tell me which I should use with a VFP application, how to tell what kind of connection I have now, and how to change it if I have the other kind.]]></description>
            <dc:creator>Richard Stecenko</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Sat, 27 Feb 2010 21:44:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,355130,355130#msg-355130</guid>
            <title>problem with database (5 replies)</title>
            <link>http://forums.mysql.com/read.php?126,355130,355130#msg-355130</link>
            <description><![CDATA[ Hi , i am facing very serious problem , i have a dbc file and i want to convert it into mysql .<br />
<br />
Please help me out<br />
<br />
Thanks in advance]]></description>
            <dc:creator>Prem Jain</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Mon, 15 Mar 2010 14:02:48 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,353938,353938#msg-353938</guid>
            <title>Database Migration:  From Visual FoxPro to MySQL (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,353938,353938#msg-353938</link>
            <description><![CDATA[ Outgrowing Visual Foxpro<br />
<a href="http://pirringers.com/mysqlblog/?p=3"  rel="nofollow">http://pirringers.com/mysqlblog/?p=3</a><br />
<br />
First Contact – VFP/MYSQL interaction<br />
<a href="http://pirringers.com/mysqlblog/?p=11"  rel="nofollow">http://pirringers.com/mysqlblog/?p=11</a><br />
<br />
Transferring VFP Table Structures to MYSQL<br />
<a href="http://pirringers.com/mysqlblog/?p=17"  rel="nofollow">http://pirringers.com/mysqlblog/?p=17</a><br />
<br />
Converting a Simple VFP Form to MySQL<br />
<a href="http://pirringers.com/mysqlblog/?p=26"  rel="nofollow">http://pirringers.com/mysqlblog/?p=26</a><br />
<br />
Converting and optimizing SQL Statements<br />
<a href="http://pirringers.com/mysqlblog/?p=32"  rel="nofollow">http://pirringers.com/mysqlblog/?p=32</a><br />
<br />
Optimizing differences<br />
<a href="http://pirringers.com/mysqlblog/?p=45"  rel="nofollow">http://pirringers.com/mysqlblog/?p=45</a><br />
<br />
Security Benefit By Switching to MYSQL<br />
<a href="http://pirringers.com/mysqlblog/?p=52"  rel="nofollow">http://pirringers.com/mysqlblog/?p=52</a><br />
<br />
Using MYSQL to maintain the VFP frontend<br />
<a href="http://pirringers.com/mysqlblog/?p=59"  rel="nofollow">http://pirringers.com/mysqlblog/?p=59</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Fri, 12 Feb 2010 21:08:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,296461,296461#msg-296461</guid>
            <title>VFP/MYSQL what works and what not discussion (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,296461,296461#msg-296461</link>
            <description><![CDATA[ Hi all,<br />
<br />
I am converting a big VFP application to MYSQL and for now using VFP as a frontend. I converted the database (over 100 files) and the data (about 2 gig) and that went smoothly. If anyone is interested how to I will post that here. Overall it is workable and I tried now to improve performance an there is where the problems started.<br />
<br />
Here is the basic overview<br />
MYSQL Server 5.1.41 on a windows vista machine<br />
MYODBC 5.1.6<br />
VFP 9.0 sp2 on a toshiba satelite running XP<br />
<br />
To access the server I use shared connections as setting up a non shared connection can take 0.5 seconds as compared to a shared one that is &lt; 0.08 sec. This makes a difference if you have to retrieve data from 8 or 9 tables when opening a screen. Using seq. sync mode and nonshared connection the data access woud take 15 seconds a long time waiting for a screen to open. Opening up 10 shared connections simultaneously and running the queries asyncronously the data access part is done in 0.6 seconds (some of the data will fill in later but that is ok as the customer can start scrolling through whatever he wants and sees progress and does not sit in front of the screen waiting for 15 seconds with nothing happening.<br />
<br />
Now to improve performance I started to change some settings in the odbc driver.<br />
<br />
I set the compression setting on - did not do much on that screen but improved the data availability on another screen (accessing about 100,000 records out o a 2 Million record table with a complex where  clause and a join involving 4 other tables using a view. Synchronously it takes 140 seconds (as all needs to be read) async data is available in 30 seconds with compression in 16.<br />
<br />
Now I also tried to set &quot;don't cache results on forward only cursors&quot; this made dat available in 6 seconds - but then if the customer does not want to see the whole dataset and cancesls (sqlcancel(connection_id)) the system hangs. Also when running those 10 sql statements from the 1st example as soon as the 2nd simultaneous query executes one gets and error from the odbc driver something like &quot;You cannot execute that command now - commands out of sync SELECT ......&quot;<br />
<br />
So there is a problem with that feature. Also forcing all sets to be forward only cursors or eabling/disabling large record sets in the driver does not work.<br />
<br />
Also on the 100,000 record query when executing<br />
<br />
Select * from &lt;complex views&gt;  WHERe &lt;comlex where&gt; ORDER by &lt;field list&gt;<br />
<br />
I get erro 11 Cannot unlock table<br />
<br />
Droping the ORDER BY will take care of the error - WHY ?<br />
<br />
Also a workaround I found when rewriting the above query to<br />
<br />
SELECT tmp.* FROM (Select * from &lt;complex views&gt;  WHERe &lt;comlex where&gt;) tmp ORDER BY &lt;field list&gt; <br />
<br />
Will take care of the error Also if you select less than 40,000 records then the error does not occur at all with the above query. This looks like a MYSQL problem to me as I can reproduce it in the MYSQL query editor. <br />
<br />
One more problem :<br />
<br />
Using an updatable cursor (by setting the properties with cursorsetproperty()) will fail with an error &quot;Access denied for user ''@'') Turning the debug on on the ODBCDRIVER will show as the last statement <br />
<br />
UPDATE &lt;tablename&gt; SET &lt;fieldlist&gt; WHERE &lt;keyfields = keyvalues&gt;<br />
<br />
now taking that statement and executing it either in the Mysql Query browser or as code in th program<br />
<br />
ln_conn = SQLCONNECT(&lt;server connect values&gt;)<br />
sqlexec(ln_conn, &quot;UPDATE &lt;tablename&gt; SET &lt;fieldlist&gt; WHERE &lt;keyfields = keyvalues&gt;&quot;)<br />
<br />
Same statement foxpro tries to send. <br />
<br />
As a note the user and PW are defined in the DSN so it should use that user and not some weird user ''@'' <br />
<br />
Any comments or solutions would be apreciated]]></description>
            <dc:creator>Martin Pirringer</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Sun, 20 Dec 2009 15:49:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,293929,293929#msg-293929</guid>
            <title>Urgent HELP!!!! (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,293929,293929#msg-293929</link>
            <description><![CDATA[ hi guys. can you please check my codes..<br />
<br />
i am currently working on a migration of a foxpro to a mysql database<br />
but i have an error when i am executing my insert query. help me out. :)<br />
<br />
''''''''''''''''''''start of SUB<br />
Dim myConnection As New MySqlConnection<br />
Dim foxConnection As New OleDbConnection<br />
<br />
Dim test1 As String = &quot;z:\foxpro\&quot; 'where resides the foxpro table<br />
<br />
myConnection = New MySqlConnection(&quot;SERVER=&quot; &amp; My.Settings.DBSERVER &amp; &quot;;&quot; _<br />
&amp; &quot;DATABASE=testdata;&quot; _<br />
&amp; &quot;UID=user;&quot; _<br />
&amp; &quot;PWD=pass;&quot;)<br />
<br />
<br />
Dim xFoxpro As String = &quot;select strtran(dept_code,chr(39),'') as dept_code, strtran(desc,chr(39),'') as descr from dept&quot;<br />
<br />
Dim strSql As String = &quot;insert into dept &quot; &amp; xFoxpro<br />
<br />
Dim connCommand As New MySqlCommand<br />
connCommand.CommandText = strSql &amp; &quot; Provider=VFPOLEDB;&quot; + _<br />
&quot;Data Source= &quot; &amp; test1 &amp; &quot; ;&quot; &amp; _<br />
&quot;Collating Sequence=general;&quot;<br />
<br />
connCommand.Connection = myConnection<br />
If connCommand.Connection.State &lt;&gt; ConnectionState.Open Then<br />
connCommand.Connection.Open()<br />
End If<br />
connCommand.ExecuteNonQuery()<br />
<br />
''''''''''''''''''''end of SUB]]></description>
            <dc:creator>Francis Flores</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Sun, 20 Dec 2009 16:55:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,293051,293051#msg-293051</guid>
            <title>Need help please (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,293051,293051#msg-293051</link>
            <description><![CDATA[ Dear Database Support Professional,<br />
 <br />
I am Database Administrator and I am writing to ask for your help in responding to a 10-12 minute survey for a degree requirement on relational database support professionals in the USA. Please note that the respondent is completely anonymous. If I don’t get this portion of my degree completed by the end of this semester, then I would have to wait for another year which entails additional costs and time on me. By completing the survey, you will be contributing to research in our field and also there is the satisfaction of having helped a fellow professional and a fellow human being attain his goals. I believe a good turn always bring another in some way in our lives. I therefore kindly beg for your help to a fellow database professional by completing this survey.  The link to the survey is provided below.  If possible please forward to other database professionals or groups:<br />
<a href="http://www.surveymonkey.com/s.aspx?sm=a1JqU7GVt1g6rCkIPyL23w_3d_3d"  rel="nofollow">http://www.surveymonkey.com/s.aspx?sm=a1JqU7GVt1g6rCkIPyL23w_3d_3d</a><br />
<br />
Thank you earnestly for your kindness.]]></description>
            <dc:creator>Gabby Takash</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 26 Nov 2009 14:57:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,277301,277301#msg-277301</guid>
            <title>A very odd ODBC problem:  Mysql connection busy (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,277301,277301#msg-277301</link>
            <description><![CDATA[ I have a Foxpro V9 sp2 program.  It does 70,000+ updates to a MySQL table.  Problem is the first update causes the cursor in MySQL to become busy for anywhere up to 5 minutes.  I do a suspend in foxpro and wait, then do a resume and the last 70,000+ records are processed in the matter of seconds.<br />
<br />
Any idea what would be causing this to happen?]]></description>
            <dc:creator>gregory west</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Fri, 21 Aug 2009 16:03:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,275984,275984#msg-275984</guid>
            <title>Mail sending problem (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,275984,275984#msg-275984</link>
            <description><![CDATA[ Hello,<br />
I have a problem while sending email from a server the mail sending is not working because that server not supporting mai sending property but i have to send email in that web site.is it possible to send email using another server's server details in that site for sending email? pls give me an answer immedately..]]></description>
            <dc:creator>Reshmi Babu</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 13 Aug 2009 16:13:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,273605,273605#msg-273605</guid>
            <title>LOCKS (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,273605,273605#msg-273605</link>
            <description><![CDATA[ Hi,<br />
<br />
I'm very new to mysql technology i need some information on how to see locks and blocks that are there in the database.....<br />
<br />
Your help is highly appreciated....<br />
<br />
Thanks,<br />
Kumar]]></description>
            <dc:creator>kumar raju</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Tue, 28 Jul 2009 16:00:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,267887,267887#msg-267887</guid>
            <title>XBase : can't find .dbt file (2 replies)</title>
            <link>http://forums.mysql.com/read.php?126,267887,267887#msg-267887</link>
            <description><![CDATA[ Greetings, <br />
The title is correct; can't find a .dbt file (note the t in .dbt).<br />
<br />
I'm moving a Perl script from my windows xp machine to a linux server.  When finished, a cronjob to run this program.<br />
<br />
The program runs fine on the windows machine, but I'm having what seems to be an XBase bug on the linux machine.<br />
<br />
I run a command on the command line to copy a bunch of FoxPro tables from one server (a foxpro production db) to another server/directory to be worked on.  This works and copies all the table files (.dbf, .cdx, and .fpt).  Note: not all the .fpt files get copied. <br />
<br />
Then I run a Perl script which loops through an array of the table names, creates a tab-delimited txt file to be used as a datafile for a sql-loader command that uploads the data into Oracle tables.  Piece of cake!<br />
<br />
Problem:<br />
I have about 50 tables.  This all works fine on about 44 tables.  On the others, I'm getting an XBase error about '... can't find file tablename.dbt' note the 't' in the extension.<br />
<br />
Would anyone have an idea on what is causing this error?  I'm baffled.<br />
<br />
Code - main parts related...<br />
<br />
use DBI;<br />
use XBase;<br />
<br />
#connection to foxpro<br />
eval { $foxDbh = DBI-&gt;connect(&quot;dbi:XBase: // blah blah blah }  # partial syntax<br />
<br />
# Tables that wont run in command line: '<br />
@CsoTableNames = ('cm', 'jb','mp', 'nt', 'rp', 'su');<br />
<br />
foreach my $table (@CsoTableNames) {<br />
  $sql = &quot;select * from $table&quot;;<br />
  eval{<br />
	$foxSth = $foxDbh-&gt;prepare($sql);<br />
	$foxSth-&gt;execute;<br />
  };<br />
  if($@){<br />
	$errorString = &quot; Problem Selecting from FoxPro $table table.&quot;.$@;<br />
	print &quot;Error on table $table : &quot;.$errorString.&quot;\n&quot;;<br />
	SendEmail($errorString);<br />
  }<br />
}<br />
<br />
Error:<br />
DBD::XBase::st execute failed: Table cm not found: Error opening file /home/path/to/tables/cm.dbt: No such file or directory <br />
 <br />
Error on table cm :  Problem Selecting from FoxPro cm table.DBD::XBase::st execute failed: Table cm not found: Error opening file /home/path/to/tables/cm.dbt: No such file or directory<br />
<br />
I've checked and tested the tables in the directory they are copied to.  I can open them in FoxPro and the data is good.  Again, this only happens on six of the fifty tables.  Strange!<br />
<br />
Any help or ideas would be GREATLY appreciated.]]></description>
            <dc:creator>john cowan</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 16 Jul 2009 05:57:48 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,254878,254878#msg-254878</guid>
            <title>how to read and write record in the mysql database of internet using Visual Foxpro? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,254878,254878#msg-254878</link>
            <description><![CDATA[ hi,<br />
<br />
  i have a website contains 2 databases in the mysql. one database called 'information_schema' which was created by mysql, and another database called 'infodata' which created by me. <br />
<br />
  i use visual foxpro to write a program to access the database, the database show ok when i use SQLSTRINGCONNECT command to access the 'information_schema' database, but the database show error when i use SQLSTRINGCONNECT to access 'infodata' database, may i know what is wrong with database ? how to ratify this problem ? pls help me. thanks !!!]]></description>
            <dc:creator>Darren Ang</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Thu, 07 May 2009 13:11:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,249071,249071#msg-249071</guid>
            <title>ODBC connect user name problem (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,249071,249071#msg-249071</link>
            <description><![CDATA[ Hi<br />
I have been using odbc connect to a remote mysql data base sucessfully.<br />
<br />
Now I am on a different isp trying to connect.<br />
<br />
my odbc system dsn can't connect and it looks like it is because the long isp name is added to my user name.<br />
<br />
Help......<br />
<br />
Lee]]></description>
            <dc:creator>Lee Bjerke</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Sat, 21 Feb 2009 15:01:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,247115,247115#msg-247115</guid>
            <title>I;m new to this environment.. where to start (1 reply)</title>
            <link>http://forums.mysql.com/read.php?126,247115,247115#msg-247115</link>
            <description><![CDATA[ Hi all, Please any one help me regarding how to start to learn about concept like &quot; C++ access to mysql server in linux as well as in windows.. I know both C++ and basics of Mysql server.. <br />
<br />
Give some links where can I get the information regarding configuration and programming tips<br />
<br />
Thanks and regards<br />
vijay]]></description>
            <dc:creator>vijay kumar</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Wed, 18 Feb 2009 15:53:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?126,239727,239727#msg-239727</guid>
            <title>Use an automatic generated ID (no replies)</title>
            <link>http://forums.mysql.com/read.php?126,239727,239727#msg-239727</link>
            <description><![CDATA[ Hi all:<br />
<br />
I'm trying to register an invoice that has:<br />
<br />
a) a Header (table A - autogenerated ID)<br />
b) a Body (table B - Foreign Key from Table A)<br />
<br />
The point is that I'm trying to encapsulate that in a TRANSACTION with the following statements:<br />
<br />
start transaction; <br />
insert into A (ID) values (0);   (ID=Integer autoincremental PK)<br />
select @IDCAB=LAST_INSERT_ID();<br />
insert into B (ID,FKCAB) values (0,@IDCAB);  (ID=Integer autoincremental PK)<br />
commit;<br />
<br />
<br />
Assuming that the value of ID in A was 34, when I see the B's new register, the field FKCAB is NULL instead of 34.<br />
Could you help me please?]]></description>
            <dc:creator>Alberto Garcia Cano</dc:creator>
            <category>DBF, dBASE, FoxPro, Clipper, xBASE</category>
            <pubDate>Tue, 23 Dec 2008 14:31:05 +0000</pubDate>
        </item>
    </channel>
</rss>
