Hi,
I have an ODBC problem when I try to connect to an Access table from
MapBasic using the Register Table - command. I get the error message
"Could not convert data".
The specs: Win 95, MapInfo/-Basic 5.0, Access 97.
The code:
register table "c:\database\mytable.mdb"
type odbc
table "select * from customers"
connection
handle "DSN=DB_mytable;"
into "c:\temp\odbc_cust.tab"
open table "c:\temp\odbc_cust.tab" as CUST interactive
browse * from CUST
The problem must be in this code, because everythings works OK when I
connect to Access using the ODBC tool in MapInfo 5.0. Maybe the handle
is not complete (but I don't use an UID, PWD and SCROLL).
Any ideas?
Thanks in advance!
--
Jeroen Bijl
Geodan IT bv
Jan Luijkenstraat 10
1071 CM Amsterdam [NL]
tel: +(0)20 5707300
fax: +(0)20 5707333
email: [EMAIL PROTECTED]
site: www.geodan.nl
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]