Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

mail merge (too many blank fields error)

Explorer ,
Nov 16, 2017 Nov 16, 2017

Hi,

I designed a template in InDesign platform, and I would like to populate/multiply this template to over thousands of pages thanks to mail/data merge option.

For this, I created a text unicode file (converted from simply excel) which has blank fields. Nevertheless, when I want to proceed the mail merge, InDesign gives me an error that I have many blank fields.

Seems not a smart move enough I replaced all the blank fields with "---" in order them to have some value as can be shown in the figure below. But that did not work either.

Is there any options/strategies to overcome this issue?

field-sample.jpg

1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 16, 2017 Nov 16, 2017

Chances are the error was not blank fields, but Blank Field Names. - InDesign Data Merge has no problems with blank fields in individual records.

Go to the top of your excel file, and make sure that every column has a header. If they all do, then the problem could be some glitch that makes it look like there is data outside your intended columns. 

This can be remedied by selecting all of your columns with headers and pasting them into a new sheet, and creating your data file from the new sheet.

Translate
Valorous Hero ,
Nov 16, 2017 Nov 16, 2017

Without actually seeing the data file produced from Excel, I wouldn't know for certain.

Most errors with data merge can often be just one of two things.

Line breaks in a cell or multiple cells.

A text file saved out in the incorrect format (even when the user thinks is it correct).

A less common thing I have seen is that Excel can confuse itself with misplaced delimiters. I always use a tab delimited UTF-8 or UTF-16 file.

Try a tab delimited file. Open that text file in a good text editor and just scroll down and see if there is one or more unexpected line beginnings--that means there is a line break in the data. Make sure the text editor is not using line wrap.

Mike

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 16, 2017 Nov 16, 2017

Thank you Mike for your detailed answer.

I tried/changed the file multiple times to find out what is wrong in the pattern, of course it is possible that I am missing something, but I really cannot find out what is wrong.

I followed your kind advise, and did not find out any line breaks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2017 Nov 16, 2017

Chances are the error was not blank fields, but Blank Field Names. - InDesign Data Merge has no problems with blank fields in individual records.

Go to the top of your excel file, and make sure that every column has a header. If they all do, then the problem could be some glitch that makes it look like there is data outside your intended columns. 

This can be remedied by selecting all of your columns with headers and pasting them into a new sheet, and creating your data file from the new sheet.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 16, 2017 Nov 16, 2017

Thanks a million SJRiegel​

I did not imagine such a basic problem 😕

I applied your suggestion, and it's just working like a shine

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 07, 2020 Jul 07, 2020
LATEST

I had this same problem and when copying the data to a new file didn't solve it, I figured out that my problem was special characters in my header rows. One was # and another had a / in the name. Removing those solved my problem!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines