Visual Foxpro client program with MySql database
Hello, we are upsizing an application that we have made in Visual FoxPro so that the program works with a MySql database instead of a FoxPro database that we used until now.
We use ODBC to access the data. As MySql not supports the logical data type, we use for fields of
this type the type TINYINT of MySql that is an integer of 1 bytes to which we give a value of 0 or 1 according the concept we want represent, .T. or. F.
When executing from FOXPRO, a SQLEXEC via ODBC against a MySql table that has fields TINYINT,
it returns in the cursor of FOX integer field and not logical.
Somebody has implemented in some occasion some mechanism, or knows the how converting those integer fields that come in the cursor in logical FoxPro fields ?
We need in our application obtain logical fields and not integer fields because we would rewrite a lot of code.
Some driver exists ODBC of MySql that converts automatically the fields TINYINT of MySql in fields
logical. T. i. F. in FoxPro?
Has somebody met with this problem before? As him has it solved?
Sorry by my english.
Thank you.
Subject
Views
Written By
Posted
Visual Foxpro client program with MySql database
11110
April 10, 2005 08:31AM
5388
May 04, 2005 02:50AM
8296
May 22, 2005 10:12AM
4350
June 30, 2005 04:10PM
4167
May 22, 2005 10:19AM
6243
May 23, 2005 01:37AM
3691
June 14, 2005 03:58PM
4584
July 06, 2005 01:36AM
3784
October 26, 2005 10:58AM
3756
November 10, 2005 05:06PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.