Found [,] while searching for [A string constant].

Skip to first unread message

Nicholas G Lawrence

Aug 28, 2023, 6:31:18 PM8/28/23

Hello all,


I am trying to import a MID MIF file (that was generated by 12D)

I get this error

Found [,] while searching for [A string constant].

And the import fails

I have looked through both the MID and the MIF file in a text editor and I cannot find any comma that is out of place.

Any suggestions?



Nick Lawrence
Senior Spatial Science Officer | Geospatial Technologies
Engineering & Technology | Transport and Main Roads


Floor 19 | 313 Adelaide Street | Brisbane City Qld 4000
GPO Box 1412 | Brisbane City Qld 4001
P: (07) 30667977


WARNING: This email (including any attachments) may contain legally privileged, confidential or private information and may be protected by copyright. You may only use it if you are the person(s) it was intended to be sent to and if you use it in an authorised way. No one is allowed to use, review, alter, transmit, disclose, distribute, print or copy this email without appropriate authority.

If this email was not intended for you and was sent to you by mistake, please telephone or email me immediately, destroy any hard copies of this email and delete it and any copies of it from your computer system. Any right which the sender may have under copyright law, and any legal privilege and confidentiality attached to this email is not waived or destroyed by that mistake.

It is your responsibility to ensure that this email does not contain and is not affected by computer viruses, defects or interference by third parties or replication problems (including incompatibility with your computer system).

Opinions contained in this email do not necessarily reflect the opinions of the Department of Transport and Main Roads, or endorsed organisations utilising the same infrastructure.


Aug 29, 2023, 2:08:52 AM8/29/23
to MapInfo-L
When this happens double check the number of delimited values in the MID, match the definition in the MIF. 

There may also be an upper limit to the width of the structure. 

Old dBaseIV type limits. 

If it’s a very wide table with wide data types (lots of text fields with max characters) you can hit a wall with the parser. 

I once wrote an MBX called “Diet_Table” that would resize the columns to the minimum width by checking the widest string in a given field. 

I seem to recall a net width of 4000 characters. 

Uffe Kousgaard

Aug 29, 2023, 2:28:41 AM8/29/23

It sounds as a string with missing " ".
Show us the header of the MIF and a few lines of the MID.

You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to
To unsubscribe from this group, go to:
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at

You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Reply all
Reply to author
0 new messages