Hi all
Could someone please help me out with some code for opening an Access =
database & extracting a dbf table. I have tried the MapBasic window while =
performing the ODBC connection in MI but the code that is placed in it =
doesn't seem to work when used in a MB priogram.
I want to open an Access database (called TJSDATA) and extract a DBF file =
(called STAND). The Stand.dbf will normally have about 10 fields in it but =
I only want to have 3 fields in mine (eg FIELD1, FIELD2,FIELD3).
At the end of the code I want to be able to save the changes I have made =
to the STAND.DBF back into the Access database and then close the ODBC =
link. I have all the in between code working but can't get the initial =
code to open & close via ODBC. Would really appreciate some help here. =
Have search the list database for sample code but haven't located any that =
would work for me. I am running MI & MB 6.5

The DSN would already exist. In my case it would be called BP-primary.dsn

Hope somebody can spare the time to help out with a piece of sample code

regards
Terry

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied
or disseminated by anyone receiving them in error.  If you are not the intended
recipient, please notify the sender by return email and delete this message
and any attachments.

The views expressed in this email are those of the sender and do not necessarily
reflect the official views of Landcare Research.  

Landcare Research
http://www.landcare.cri.nz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to