InDesign Data Merge problem with field names

Hi to all.
I am trying to create a sales catalog with data merge. I have product name, description, old price, new price and image. However, when I select my .csv file as data source, InDesign recognizes different fields as one and puts them all together. I tried copying and pasting to new spreadsheet,  retyping the info myself, saving as tab delimited and as comma delimited file. To better illustrate, here are exemplary screenshoots:
Please help, I don't understand what I am doing wrong. I'm a regular InDesign user for almost a decade, but I haven't used DataMerge until now, never needed it. I have basic knowledge in Excel, so if I did something wrong there please inform me (do I have to tell it somehow to "split" them into fields?).
Thank you in advance!

I would recommend to test with different export types in Excel like:
Tab-Divided txt files instead of csv or with different decoding.
When you have learned which is working fine, you can select this always in the future.
(There is also a possibility inside InDesign to change the type between tab separated text and CSV. In my experience it depends very much on the Excel version which would work. Microtrash has a bad history in localizing their programs, e.g. here in German, in numbers we write coma instead of a point, a point of a coma, so decided MS to exchange it every where on the Mac version with the outcome, that CSV files are not coma separated but dot separated and are not working on any data base import. So I can only use tab separated files.)

Similar Messages

  • InDesign-Data Merge, Consecutive Empty Fields

    Hi there,
    I've been doing data merges in InDesign for quite some time now and I've always had this problem. I don't know of any other way, besides to go in and manually delete every line, to get rid of this issue.
    Here's my data block:
    <<First Name>> <<Last Name>>
    <<Spouse First>> <<Spouse Last>>
    <<Address 1>>
    <<Address 2>>
    <<City>>, <<St>> <<Zip>>
    Normally, I can just combine address 1 and address 2 into one line separated by a space and it's no big deal. I've tried using the merge option to delete the empty line, but it has never worked properly.
    My main concern is the second line. Not all records have a spouse associated with them and when merged, I have to go in an manually delete the entire line. Is there a way to fix this?

    I've tried using the merge option to delete the empty line, but it has never worked properly.
    That's odd; it's pretty much exactly what you are asking after. Can you tell us anything outside of "it has never worked properly"?
    Is there anything non-standard about your merge? (I.e. unusual text encoding, images, master pages, n-up merges, et cetera.) Can you take screenshots of your merge dialogs? Or give us a step-by-step rundown of what you are doing? Are you previewing before merge?
    I am an infrequent but long-time user of Data Merge, and I've always been able to use the "Remove blank lines for empty fields" checkbox without issue.

  • Data Merge - Problem with multi paragraph text

    Hi. Does anyone know how to use Data Merge for automating say a newsletter. The reason I ask is that when I produce a .csv file that contains stories with paragraphs, data merge reads the para returns as the next row/record of data. I have contained the story within " " marks and it reads OK into a demo of easy catalog, but data merge just gets all confused. Is anyone using data merge to automate newsletters / catalogues that have lots of text with para returns etc. I read in the adobe online manual that there cannot be any para returns in text because that's how data merge recognises a new record. Just thought someone might know a trick at the data source stage to get around this. Might be a stupid question but had to ask because it's annoying the hec out of me!
    Thanks in advance.

    wouldn't use data merge for this kind of automation, but rather XML, which is a bigger learning curve but worth the effort. a book by james maivald called
    A Designer Guide to Adobe InDesign and XML.
    data merge is great when the data being replaced is the same size, shape and position on each page, but with a newsletter, thats not normally the case and there is no way of threading the merged stories. i'd also imagine that having the stories within a CSV would limit characters which could be used such as " , and tabs (anything which separates the fields). as you say in your post, indesign doesn't have what a lesser program (word) DOES have, which is the "next record" field, allowing text to thread from one story to the next.
    an alternative would be to use a word file with styles and use the mail merge (catalogue merge) which allows the "next record" field, merge it in word, and then bring the word file in. it's a yucky alternative but it does work.

  • CFUPDATE problem with field name beginning with a number

    I have a form (actually several) that is gathering data for a survey. I tried to use cfupdate to update the data elements and got a string index out of range error. I tested again without the form fields that began with numbers and it worked just fine. I then tried to enclose the offending field names in () and []. Both times I got same error. Does anyone have a work around for this? The code and error are below.
    Changing the field names is not really an option. This survey has almost 400 data points and most of the fields begin with the question number.
    Thanks
    DW
    <cfupdate datasource="#application.fdp_datasource#" tablename="arra_survey1" dbtype="ODBC" formfields = "entry_no, 2_a_fy09, '2_a_fy10', '2_a_fy11', '2_a_fy12', '2_b_fy09', '2_b_fy10', '2_b_fy11', '2_b_fy12', '2_c_fy09', '2_c_fy10', '2_c_fy11', '2_c_fy12', '2_d_fy09', '2_d_fy10', '2_d_fy11', '2_d_fy12', '2_e_fy09', '2_e_fy10', '2_e_fy11', '2_e_fy12', '2_f_fy09', '2_f_fy10', '2_f_fy11', '2_f_fy12', '2_g_fy09', '2_g_fy10', '2_g_fy11', '2_g_fy12', '2_h_fy09', '2_h_fy10', '2_h_fy11', '2_h_fy12', '2_i_fy09', '2_i_fy10', '2_i_fy11', '2_i_fy12', '2_j_fy09', '2_j_fy10', '2_j_fy11', '2_j_fy12', '2_k_fy09', '2_k_fy10', '2_k_fy11', '2_k_fy12', '2_l_fy09', '2_l_fy10', '2_l_fy11', '2_l_fy12', central_office, dept_office, incl_other, 3_a_fy09, 3_a_fy10, 3_a_fy11, 3_a_fy12, 3_b_fy09, 3_b_fy10, 3_b_fy11, 3_b_fy12, 3_c_fy09, 3_c_fy10, 3_c_fy11, 3_c_fy12, 3_d_fy09, 3_d_fy10 3_d_fy11, 3_d_fy12, 3_e_fy09, 3_e_fy10, 3_e_fy11, 3_e_fy12, 3_f_fy09, 3_f_fy10, 3_f_fy11, 3_f_fy12, 3_g_fy09, 3_g_fy10, 3_g_fy11, 3_g_fy12, 3_h_fy09, 3_h_fy10, 3_h_fy11, 3_h_fy12, 3_i_fy09, 3_i_fy10, 3_i_fy11, 3_i_fy12, 3_j_fy09, 3_j_fy10, 3_j_fy11, 3_j_fy12, 3_k_fy09, 3_k_fy10, 3_k_fy11, 3_k_fy12, 3_l_fy09, 3_l_fy10, 3_l_fy11, 3_l_fy12">
    String index out of range: -2
    The error occurred in C:\Inetpub\wwwroot\directory\process_arra_suvey_2.cfm: line 12
    12 : <cfupdate datasource="#application.fdp_datasource#" tablename="arra_survey1" dbtype="ODBC" formfields = "entry_no, 2_a_fy09, '2_a_fy10', '2_a_fy11', ...

    I think you have run one of CFUPDATE's limitations.  I am not 100% certain, but I do not think cfupdate provides a way to escape invalid column names like yours.  In which case you may need to do a regular UPDATE within a  cfquery instead... or rename your columns.
    fields that began with numbers
    Most databases discourage creating column names that start with a number (or other restricted characters).  While many databases will allow you to escape invalid names, it is simpler all around to avoid them altogether.  Otherwise, you may have to escape the names in every single query. The recommendations vary, but usually object names that begin with a  letter, and contain only letters, numbers and underscores are considered  safe.
    This survey has almost 400 data points and most of the fields begin with the question number.
    Four-hundred (400) is a lot of columns for a single table.  The fact that they all them seem to contain the same type of information (ie response to a question) is an indication that data should probably be stored in a separate table, as rows, not columns.  For example questions could be stored in one table, possible answers in another, and the results of an individual test/survey stored in a third table.  A structure like that is much easier to query, can easily accommodate changes (add/remove questions, responses, etcetera) without having modify the table every time.

  • Cs3 indesign data merge problem

    usung csv from mac numbers spread sheet
    it has 2 columns @photo and numbers ( this column has sequential numbers)
    i create the datamerge no problem at all except
    some of the panels have no photos but do have the number
    how can i delete the data that has no photo
    i have tried going to my csv filea nd deleting the row that has no photo or there was something wrong with the image
    same problem
    i have tried deleting the file row --that is the  row that numbers created--same problem
    any help is appreciated
    peter

    made one more attempt and it is obvious i am missing a crucial step--  bear
    with me
    all done on desktop so no path is needed
    i go to iphoto and drag 12 photos into my spreadsheet  ( mac numbers)
    in column a  called @photo--i have left a few rows on top blank and called
    the column @photo
    i created column b and entered sequentially the number of the row which
    corresponds to the photo column
    data saved in csv format
    i go to id
    create a new document
    create 8 x 11 inch document
    create guides 2 rows 2 columns
    in row1 column 1 i create a box and below it in the same panel another box
    i start data merge
    select data--data csv file is found
    i select one of the boxes and select @photo
    and in the other box number
    i select in datamerge options
    multiple records per page
    and select ok
    numbers show up but not photos
    i have gone thru tutorial and others on this--- i know i am doing something
    right as my other attempts semi work
    hope i am not being a pia but it is a pain--i understand about the path but
    i keep all my images and data in the same directory so i understand no path
    is needed
    i keep wondering do the blank rows on top of the column create this problem?
    take care
    peter

  • Create data merged document with data on every second page?

    Is it possible to create a data merged document with the variable data only on every second page?
    I have set up the pages with the variable data as a master page (on every odd page) with the text box and paragraph style all set up, and I have set 'override master page items' so the data can be placed, but InDesign seems to freeze up when I try to create the merged document?

    There should be no problem doing the merge with a two-page master and a two-page template document with fields only on one page (and off the top of my head there's no reason to move them off the master page if that's where you put them). I think the problem here is that rachrachm already has a file of 500 pages (based on another thread asking how to apply masters to every other page).
    It's potentially possible to simply place the data file (without the header row) as a text file and auto-flow through the master page frames (can't say for sure without seeing the files), or if the pages without the merge fields are the same just, remove all but the first two pages from the template and do the merge.
    As I metioned earlier, though, this is a very inefficient method of producing that sort of document. A true variable data print flow would be better (you'd need to find a commercial printer who can do it with your data file), or the home version would be to make one single page file for the static content, print 250 copies (plus a few extras, just in case), then make a single page merge template, do the merge, and print that on the back of the already printed pages, or as a separate page. It is immeasurably faster to print multiple copies of a document than it is to print a document that has multiple identical pages.

  • Problem with field label

    Hello All,
    I am having a strange problem with field label? I have created a table with three fields one is MANDT and and the remaining fields as PATID and PATNA.
    I am maintaining the field label for these fields, but still i am not getting the names of the fields while i am calling the structure in my alv tree.
    I d'nt know what is the problem here?
    can any one tell me how can i solve this issue?
    Regards,
    Lisa

    Hi lisa,
    This is not the problem with Data Dictionary,
    While declaring the fieldcatalogue for thr GRID.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
      I_BUFFER_ACTIVE              =
       I_STRUCTURE_NAME             = 'ZTABLE'
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_BYPASSING_BUFFER           =
      CHANGING
        ct_fieldcat                  = gt_fieldcat
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 2
      OTHERS                       = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If gt_fieldcat-fieldname = 'PATID'.
    gs_fieldcat-ref_field = 'ZTABLE'.
    modify gt_fieldcat from gs_fieldcat.
    clear gs_fieldcat.
    endif.
    Because while calling the FM it is populatinh the fieldname
    so you need to modify the fieldcatalogue with fieldname then it will pick the field labels from the Dictionary.
    Hope this  will solve your problem.
    Regards,

  • Indesign Data Merge Scripts

    I am looking to create a script that will enable me to feed in variable data from a csv to indesign data merge.  I have the components built, with a column for quantity in the csv.  Our printing needs vary day by day, so multiple records don't quite fit w

    Thanks SDesigns; the GREP feature in particular looks like it might work, assuming I can get the data to merge with a separator between each company. That's where I'm having trouble now; I can't seem to be able to merge a particular column from the CSV that has the company names into a paragraph of text within my document, as it only seems to let me merge in the first company name only. Do you know how I can achieve this, and additionally how I can get it to automatically insert any particular separator (as there are hundreds if not thousands of company names, manually typing in the separator could get very tedious)? Attached is a screenshot of what the final text looks like in the document, though it doesn't seem to let me "Update source" on the paragraph, which would make things much easier.Thank you very much for your time and help!
    Best,
    Colton

  • Check InDesign data merge template for errors without creating document?

    I've got a big InDesign template with hundreds of rows. Producing a full batch takes over an hour, and sometimes crashes. The deadline is fast approaching, and I'm waiting for the final minor amendments to the content spreadsheet, which could virtually land any minute.
    I want to check for overset text errors on the current sheet without creating a merged document or PDF, so I can get on with fixing any likely major problems before the final sheet arrives - but I don't want to create a full merged doc, because that will take a very long time and will that doc's content will be obsolete, whereas the overall length of the text will change very little.
    When you create a merged document, you have the option to turn "Generate overset text report" off. What I want to do, is ONLY generate the overset text report, without actually storing the merged document in memory.
    Is this possible?
    The closest I can see is click through the "Next" button in the Data Merge palette with Preview turned on, while watching the "No errors" preflight panel notification at the bottom of the screen. This is probably faster than creating a full merge, but still very slow.

    That is what Indesign does when it does a data merge, it creates copies of the document and there's no way to change this.  Have you tried exporting to PDF (In CS4 you can do this in one step from the original) and printing?  I've never had anyone confirm it definitively but I'm pretty sure that the PDF created will be an 'optimized' one, meaning that when it sends it off to a compatible printer the images will be sent once and cached, with only the text that changes being sent separately.
    Definitely worth comparing it to Publisher for speed anyway, Office programs can merge straight to the printer, but in effect they're doing the same thing.  There are programs out there for doing far fancier stuff than data merge, probably the best is XM Pie, but unless you've got a printer that recognises their language they're a waste of time in this circumstance anyway.

  • Problem with variable name in ZXRSRTOP include (virtual KF)

    Hi all,
    I am coding a routine to use a virtual key figure in the BEx.
    I have just a little problem with the name of a variable:
    as explained in the documentation, I created the variable with the prefix G_POS_, the name of the infocube and the name of the infoobject all together:
    DATA: G_POS_BC_ST_003_C_DIV__C_COMPAR   type i.
    The problem is that this variable name is longer than 30 characters, so the system doesn't accept it.
    Is there a workaround, other than changing the name of the infoobject (which is a navigational attribute)?
    Any help would be appreciated.
    Loï

    Hello Marc,
    I understand that I have to use a concatenate function and a dynamic call of the variable with (variable) instruction, but i do not understand how to implement it.
    the infocube name is BC_ST_003
    the characterisdtic name is C_DIV__COMPAR
    So, in the include ZXRSRTOP the statement
    DATA : G_POS_BC_ST_003_C_DIV__COMPAR
    does not work due a length problem (see first post)
    But in the same include the statement
    +DATA: l_global_name type c.
    concatenate 'GPOS' 'BC_ST_003' 'C_DIV__C_COMPAR' into l_global_name separated by '_'.+
    drives to the following error : statement is not accessible.
    Could u please provide me with an example of the code in the include ZXRSRTOP, and in the include ZXRSRZZZ for the use of this variable.
    Thanks in advance.
    Loï

  • Multiple records in Indesign Data merge

    When I select the option for multiple records in InDesign Date Merge, I still only get one record on a page in preview. When I ask it to create a merged document, each item from the excell file is put on a separate page.  Why is this happening, I want 4 items on a page.

    Message was edited by: p_lue
    I figured out the problem.  The margins would have to be smaller for the page to accomodate multiple  records. Thanks for offering to help.

  • Problem with field GL Account is that it shows concatenated Chart of Accoun

    Hello . Please help me. We have sap BI olap universe . problem with field GL Account is that it shows concatenated Chart of Accounts. But user want to trim the chart of account and show only account in list of values in webi report.
    So What code I can put in Universe to remove this " 9000/" WHICH IS Chart of acct from GL Account
    example List of values shows
    9000/99030
    9000/99070
    I want to show as below
    99030
    99070
    I tried replace function in universe it does not work. Pls help.
    Thanks
    soniya

    Hi,
    You can do it in Web Intelligence using the function Right().
    Depending on the SAP BW version you have it is possible to build such calculated expression in universe on uniquename or name:
    <EXPRESSION>RIGHT[0CALMONTH].currentmember.uniquename,5)</EXPRESSION>
    OR
    <EXPRESSION>RIGHT([0CALMONTH].currentmember.name,5)</EXPRESSION>
    You have to replace 0CALMONTH by the unique definition of GL Accounts and you also need to use the object referencing GL Accounts in your query in addtion to the calculated expression.
    Regatds
    Didier

  • Problem with reserved names

    hi everyboody
    i have a problem with reserved names
    i have a table t
    drop table t;
    create table t
    t_id int,
    "DATE" date
    then i insert it
    insert into t values(1,'15.04.10');
    insert into t values(2,'16.04.10');
    select * from t;
    it'sw work correct
    T_ID DATE
    1 15.04.10
    2 16.04.10
    but when i try to create procedure for insert, like this
    create or replace procedure my_proc(p1 int,p2 date)
    as begin
    insert into t values(p1,p2);
    end;
    i receive error message
    i know that the problem is with the name of the second column called "DATE"
    and if we changed this name (for example "tDATE") the procedure will be work
    but i can't change this name
    if anybody knows the solution please help me

    Karthik:
    No, it is not a bug, it is just the way that Oracle works. The list of reserved words can be found in the view v$reserved_words. There is a column in that view called reserved. A word that is in the view and has Y in the reserved column is "really" reserved, that is you will get an error if you use it in an inappropriate place (like a column name) without quoting it. Words with N in the reserved column should not be used as object names, but because they either became special later in Oracle history or for other reasons can be used unquoted but shouldn't be.
    Although I don't know the exact internal mechanism, from experience, it appears to work this way. When Oracle stores the name of a table or column, it always makes it upper case, unless it is double quoted in which case the case is preserved. When it retireves the names, it does not make any changes to the name as it is stored, so always retieves the name as it was stored.
    In the OP's case, by using double quotes he got around the reserved word issue, but by using all upper case within the double quotes what ended up stored in the data dictionary was a reserved word. The sql statement probably worked in sql because it is just doing a string match to see if the specified column names are right, and in the absence of a column list, may even be just looking to see if the type and number is correct without actually looking at the name. I suspect this because it works even if you explicitly list the columns as long as DATE is double quoted.
    SQL> INSERT INTO t (id, "DATE") VALUES (1, sysdate);
    1 row created.
    SQL> roll
    Rollback complete.However, if you do not double quote the column, you get:
    SQL> INSERT INTO t (id, DATE) VALUES (1, sysdate);
    INSERT INTO t (id, DATE) VALUES (1, sysdate)
    ERROR at line 1:
    ORA-01747: invalid user.table.column, table.column, or column specificationIn the case of the PL/SQL, my quess would be that the compiler is retrieving the column names form the data dictionary, then barfing on something similar to the ORA-1747 error above in the compilation process.
    John

  • Problem with song names

    Hey, I'm having this problem with song names. For example, instead of the song title being "Song Title" it will be like "Artist Name - Song Title". It's like this for half my files. I'm trying to organize my music files and every time I fix it, it keeps going back.
    This has happened to me before and usually if I double click it, it will automatically change. This time, nothing seems to work except doing it manually ("Get Info)" and that would take too long since I have 7,000 files like this. I posted this on another board and somebody said to right click the songs and click Update ID3 v2.4 which originally worked, but now nothing but manually doing it works.
    This is like this when I open it for other programs, but I know iTunes caused. I think it has something to do with the "Keep my iTunes Folder Organized" check because iTunes renames the file. I also tried reinstalling itunes and readding my files.
    Thanks for any help!

    I don't completely understand what you are trying to say, but iTunes doesn't automatically change your tag information.
    iTunes stores a copy of the tag information in the library database. When you play a track, iTunes re-reads the tag information from the song file and updates the library data. This produces the efferct that iTunes appears to change tag information but it isn't, it is meerly reflecting a change that already happend.
    Do you have any other software on your PC that can automatically change tag information? For example Windows Media player can do it if you select an option to retrieve data from the internet and overwrite existing info. But other software may do it too.
    If you want to force iTunes to re-read all tags, go to your Music view and go to Edit>>Select All. Then right click in the selection and choose Get Info. Don't change anything, just exit by clicking OK. iTunes will update the library with the tag information from the song files.

  • Creating a view on KONA & KONH -  Failed with 'Field name DATAB not unique'

    Hi all,
        I am creating a view on KONA (Rebate Agreement) & KONH (Conditions Header) tables. The link is KONA-KNUMA = KONH-KNUMA_AG.
       The field 'DATAB' exists in both tables and I have included those two fields under 'View Fields' . When I tried to activate the View, it fails with 'Field name DATAB not unique'.
       The following is the complete error message:
    Message no. MC060
    Diagnosis
    When you define aggregates (views, lock objects or matchcode objects), you can assign the aggregate fields your own names (the system assigns names to the basic fields automatically). These names must be unique.
    System response
    The system has established that the names assigned to the aggregate fields in an aggregate definition are not unique and issues an error message.
    Procedure
    Assign unique names to the aggregate fields in question.
       Why I am not able to create the view after including a field that EXISTS in two tables, PLEASE ?
    Thanks,
    Venkat.

    Hi,
    you can include both fields (but what for??); most likely KNUMH will also complain after fixing DATAB (just a guess...).
    You can include both fields if you name them differently (different aliases):
    In the view fields tab, enter two different names in the column "view field".
    this will work.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

Maybe you are looking for