Hello again Juanse, You could try to include MAPBASIC.DEF (or a modified version of it) in VBA programs. If you just want to get the call to tableinfo() working, the value of TAB_INFO_NAME is 1. A table ID of 0 (as shown in your code) gives information about the most recently opened or created table.
Regards, Warren Vick Europa Technologies Ltd. http://www.europa-tech.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Juan S. Barros J. Sent: Friday, March 01, 2002 10:38 PM To: MapInfo Subject: MI-L Including "include mapbasic.def" in Ms-Access We are trying to automatically map and opened table and having trouble = to get the table name. To use Mi.Do "tableinfo(0,tab_info_name) after = the open statement we need to include the mapbasic.def in access, or = not? How to? We get the following error on that line: variable or field tab_info_name not defined. Juanse --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.325 / Virus Database: 182 - Release Date: 19/02/02 _______________________________________________________________________ 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. _______________________________________________________________________ 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.
