Hello Mark, I believe the default delimiter in the MID files is a comma although you can change this will a DELIMITER line in the MIF header. Also, strings need to be within double quotes.
Try the following in your MID file and you should be fine. "PORTSMOUTH", "PM001" "PORTSMOUTH", "PM002" Regards, Warren Vick Europa Technologies Ltd. http://www.europa-tech.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Cooter Sent: Tuesday, November 27, 2001 2:34 PM To: '[EMAIL PROTECTED]' Subject: MI-L FW: Problem when writing MIF/MID files Hi, Am producing some MIF/MID files in an application and all is fine until I specify more than 1 column in the header of the MIF file. As soon as I increment it past 1 the file cannot be read anymore. The file looks like this: VERSION 300 Charset "WindowsLatin1" COORDSYS Earth Projection 1,104 COLUMNS 2 Name CHAR (20) ID CHAR (10) DATA PLINE 2 2.083333 51.484167 2.500000 51.450000 PEN (1,2,16711935) PLINE 2 2.500000 51.450000 2.500000 51.305556 PEN (1,2,16711935) and the MID file is as follows: PORTSMOUTH PM001 PORTSMOUTH PM002 It is fine so long as the column number is 1. Any ideas as this is baffling me? Mark C. _______________________________________________________________________ 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.
