Merge data Question

I sometimes use the merge feature of Indesign data, normally for small consignments. I came across a problem that I can't figure out a way to get around. It is difficult for me to explain so I'll use an example. A customer wants a person's name followed by title on one line, separated by a comma.

< < name > > < < name > >, < < title > >

Easy enough, but what happens if some have nothing in the title field. You end up with 'name '. An unwanted comma remains.

I also use a code system to make models of variable data for online customers. It allows you to group text so that some text will not appear unless the field is used. It is separated by hooks it. For example, I can make a template for a business card. Some people in this society have a fax number on their cards. Some do not. Entry "fx < < the Fax field > >" would give "fx", followed by the entry of client for the fax. If they have no entry something for the Fax field, he would simply let a stray "fx" that you do not want to be there. In this case, I can use {{fx < < Fax field >}} which includes the text "fx" with the field. If nothing is entered by the customer for the fax, the "fx" will not appear.

So, back to example 1. Is there a way in InDesign for this where some texts won't show up if a particular field has a value entered?

I appreciate any assistance with this question because I encounter this problem frequently by mergers.

A 3rd way: a search/replace simple: search, replace \h$ by anything else

0.5 seconds!

Tags: InDesign

Similar Questions

  • Merge data CS5.5 questions

    Right now, I have my text block with my fields of data entered on my master page. The text block has been configured to allow master point overrides, as recommended by the merge data Adobe tutorial for CS 5 and 5.5. When I saw my data merge, it seems perfect.

    The problem is that, once I said to merge, he repeats the first entry on all pages instead of going down my .csv file records. I checked the .csv file in TextEdit, and he seems not to have errors.

    Has anyone else had this problem and managed to understand?

    Thank you in advance for your help!

    We have seen reports of a number of issues when you preview before you run the fusion in CS5 and 5.5. Try a leap of faith and do not listen to excerpts and see what you get.

  • Application updates in bold and in italics while doing a search/replace on the contents of merged data

    Hello
    Wonder kind knowledgeable people if you can help me with a question find/replace.

    I'm doing a fusion of data of book content in indesign, where my data merge file is a simple text csv file that is delimited by tabs. I have two things (almost like here) I would like to make to specific parts of the text, but do not know how to achieve this.

    -First of all, I would like to preserve the words/phrases of form 'italic', but it's obviously lost in a csv file.  Is there anyway that I can mark these words so a search/replace can make this italic of the word.  Im hoping that there is a solution that looks something like this;
    for example.  Content of the book is 'the italics of the word needs to be adjusted.
    Original content is modified to be "the word $Italic $ $ needs to be adjusted", so that a dollar sign encapsulates the word in italics.
    Then I am able to merge data from the csv file and somehow make a search/replace words/phrases that are wrapped by the dollar sign.  So, do a find/replace all the words/phrases that satisfy this condition and then apply italic to all the words between the dollar signs.

    -My other question is that I use the ' |' character in my text to determine paragraph separators.  I then do a find/replace after you import the text to replace all occurrences of ' |' for the paragraph separator (a kind of symbol $, a representative character in the menu drop down to the right of the change to). It works fine, but I would like to make a "BOLD" format paragraph separator so that it can better distinguish the separation of text sections.

    But this is different from my problem "italic" above, since I am trying to apply a "BOLD" format to the character "change to", rather than something that exists in my original csv.

    Hope I think, but I'd be happy to provide you with screenshots etc. (when I get home at )
    Best Rgds
    L

    two solutions.

    for the solution of italics, I would say that the OP has answered his own question with one exception - do not use the symbols dollar, instead use = or another character that is not reserved by GREP.

    the solution I would use for italics would be a GREP search once the merger completed. Take a look at the picture to see what I did.

    the second solution: styles GREP.

    This means that the text will have a paragraph style are entrusted to him. make a style and character called "BOLD" in this style, the only thing to change is located in basic character formats, set the bold font style. might even make the character another example cyan color is more easily strucure.

    Then go to the paragraph style options, click on GREP styles and correspond to the following screengrab

    the advantage with a GREP style is that once the vertical bar (|) is replaced, the GREP style bold is lost; and that means less post processing and not needing a second search of the text - it's all living.

  • Merge data ID CS5

    Hello world

    I'm having a problem with the ID to merge data.

    I design our new luminaires A5 brochure for my Golf Club and I want to automate the process.

    My excel spreadsheet is set up as follows (csv file)

    Month1st round
    JanuaryGame
    Monday 9 January 2012Stroke and put
    Monday, January 16, 2012Stableford-N/Pin 8 & 11
    Monday, January 23, 2012Stroke and Novelty 9 & 18
    Monday, January 30, 2012Stableford-N/Pin 8 & 11

    When I use the fusion of data ID all that I get is the first line, i.e. January game, how can I get the information to follow?

    Thanks in advance for any help.

    Wali60

    There are two aspects of the records in datamerge.

    The first: merge files relates to the selection of what information from the data source you want to use in the merge. A line in your worksheet = a folder, and you can select all, one, or a range of records.

    The second: records per Page of Document: single or multiple. This applies to the process after that ID fills the fields of variable. Each collection of data is considered to be a record, and a single record can be place on a single page. Or the number of records that are placed on a single page.

    My question was in which records to merge , who, in your situation, one record could be selected, preventing any additional to merge records.

    Further reflection... In which case all records has been selected and only a recording has been merged... A lot of times that the data source can contain a false character that prevents data merges does not happen. Inspect the raw .csv file and see if there is any alleged character. Also, try a file .txt for the data source.

  • Merge data, create duplicate lists

    I have a csv with about 580 records database. I created a template with the correct fields in inDesign, loaded the csv file using merge data, then created the merged document. I have 580 announcements of something like the image below. If there is a symbol wandering in the database to csv, the cause, it does not reflect an error in a preview. In fact, all 580 records can be previewed, copied and pasted into another document, and displayed without error. Any suggestions on how to solve this problem would be appreciated.

    mergedata.jpg

    Overview of data merge is known to be buggy and trigger all sorts of strange errors (even if it's not necessarily all problem here). The best advice is NEVER to use for several records/page mergers, or if you feel you must, CANCEL after use, then just merge and trust at your disposal.

    If you used an extract and then went from there to merge directly, and the merger is not successful, you must make a model like the one you use will not work correctly. You can copy/paste in place to create the model of the former route.

  • Merge data into InDesign with Hebrew characters

    InDesign CC 2014 on Windows 7 Ultimate

    I had an Excel file which contains mainly in English, but has a few words of Hebrews here and there. I was unable to save as a CSV file retaining the Hebrew from Excel, so I downloaded Google leaves and downloaded in CSV.

    When I open the CSV file in Notepad, it looks perfect with Hebrew, although if open in Excel the characters are distorted.

    When it is used to merge data into InDesign, the Hebrew characters appear as such mutilated versions only displayed in Excel.

    I use GREP to format the Hebrew characters.

    I have a feeling that the problem is at the "save CSV" step, but I do not know how to remedy this.

    Any help much appreciated.

    Thank you

    Ruth

    Instead of changing the file extension, try saving the text with UTF-8 encoding.

    Excel: Save as type > text (separator: tab) > Tools > Web Options > Encoding > Unicode UTF-8

  • Cannot merge data files in a spreadsheet on secure document

    I created a form in Acrobat X Pro. The form was guaranteed first with a password to restrict editing, allowing just Fill-in form fields. Then save file by activating features enabled and save the file. Everything works Ok: cannot change the shape and allows me to record, but when I use merge data files into spreadsheet to export data, the exported CSV file is empty. Cannot export data. So I tried to remove the protection by password but received the following message:

    You cannot change the security on this document because the document is signed or certified.

    Can I do to solve this problem? No more was able to export the data or the deletion of protection.

    Thank you.

    The next time you add security, select the option 'Enable copying of text, images and other content' If you want to be able to export the form data.

    As is the case, you should be able to "file > save a copy" and then remove the security.

  • Live captions to help merge data

    Hello
    Got a problem that I hope you data-mergers there can help me with, wrt legends Live.

    My merge data file contains text and image links that all import very well, fortunately to create my document of 30 pages of my 30 csv file line.
    I would now like to 'live' to the image that the "metadata" below the photo caption.  So Ive who put up and everything works very well on my test example where I just paste the image in my image of the document placeholder, the legend is filled correctly.

    BUT when I try to do it via a data merge, the text and the image is correctly positioned, but my the legend box is not. Then realized in order for this legend is filled, I needed to select the menu option ' legends > generate Live Caption "so that the box caption text to be updated."
    However, I have ultimately about 230 lines of datamerge photo links so don't really like the idea of having to be updated for each image, especially if the metadata are constantly being updated.

    Is there something I'm doing wrong, or maybe a global setting that ive missed?
    Thanks a lot for listening
    L

    Data fusion is much longer than the Live captions feature. When LUKE came out, merge data was not converted to endure.

  • Data merge: data under a title of shared section grouping

    I'm a total newb using merge data in indesign. I watched the video "Automating a catalog with data merge" and found very useful. I created a catalog for an auto parts company, so I have a file csv with a field for the brand, model, year range, part number. I use Make as a header and other information below. I don't want no repetition of brand (Honda) again and again.

    Rather than:

    Honda

    Agreement of 2005-2010 part No. 4214-0100

    Honda

    Civic number 2005-2010 part 4214-0100

    Honda

    Odyssey 2005-2010 part No. 4214-0100

    I would like it to appear:

    Honda

    Agreement of 2005-2010 part No. 4214-0100

    Civic number 2005-2010 part 4214-0100

    Odyssey 2005-2010 part No. 4214-0100

    Can someone please give me some advice?

    Thank you!

    Although this can be easily accomplished in a data merge, it's probably not the right way (data fusion) to borrow in the production of a catalogue.

    First suggestion: Catalog Plugin

    Second suggestion: If the cost of the additional software is a problem, look in the XML workflow

  • Merge data error - no present placeholders

    My document merge data has 8 fields on the Master Page. I can preview records, enabling / disabling scroll records (there are twelve).

    Create errors in Document merged with "Cannot create a merged document because no placeholders are present".

    I checked the fields several times; cursor in a field shows correct on the Panel to merge data. My csv source is updated.

    I exported an inx CS3 and CS4 even errors. Saved the csv to txt, tab delimited, file deleted from the Data Source and select the data source, a txt file, identical results.

    It is a fusion of data record 12... could be recording more than all this 5 times now, but if it's a problem, I feel compelled to fix it.

    Win Vista, CS3 and CS4 fully connected to the channel 5.0.4 & 6.0.6

    Data Merge Error 1.pngData Merge Error 2.png

    Something weird, but easily fixed. Go to the master page and cut the frame with the fields, then paste in place. They should then display and the merge will take place.

  • Merge data another Question?

    I have trouble getting the data merge to grab text from an excel file.  I need data in a cell, but it goes back in it.  example below.  I'm sure that his performance but is at - there a way around this?  what I'm trying to do is keep a description below of the languages in the same format as this.

    English

    Spanish

    French

    German

    Is there a way to retrieve all these and place them in the same block of text, just as they are above?  The only way I can get them there would come out returns but I need them in there.   Any ideas other than the addition of 4 additional columns in excellent saying? < < English > >

    < < Spanish > >

    etc...

    You can't return in a cell for the data merge, but you can replace it with a code (for example use) which will not appear like any other thing, then use find/replace after the merger to replace your code with actual performance.

  • Question to merge data from multiple records

    Hi all, could really use some help here, I tried to fix this for hours now:

    Make 3 different models for labels that I print on the basis of models of labels Avery for InDesign. When I come to my fusion of data on any of them, I select "Multiple records" in the title records per Document Page, but the preview and the actual creation just spits out a single unique label on each new page. For example, I use 2 x 4 "labels on 2 of them, so it should print 10 per page, but instead to put 10 unique labels on a page, it puts each new label on a new page. Therefore, instead of 100 pages for the 1 000 labels that I print, I find myself with 1,000 pages.

    I know a double check of size constraints on the text box and make sure it suits you when duplicated, and to my knowledge, who is seeking as it's nice. I'm also fairly certain that CSV files that I use are in the right format, too. I am quite stuck at this stage as to what I have to do to solve this problem, no guidance would be great. Here are the screenshots of what I'm looking, please let me know if there is anything else I can give you to help diagnose the problem.

    Screen Shot 2012-09-24 at 10.52.08 AM.png

    Screen Shot 2012-09-24 at 10.52.28 AM.png

    Screen Shot 2012-09-24 at 10.52.37 AM.png

    Screen Shot 2012-09-24 at 10.53.17 AM.png

    Screen Shot 2012-09-24 at 10.53.33 AM.png

    I thinnk the best way to deal with this would be to ensure that all the Avery template information on the master page. Let him be active while you do the layout in the upper left position on THE DOCUMENT PAGE, and then assign the master let anything showing that your placholders and art added none.

    Reassign the master model after the merger.

  • Merge data too 'documents' by page

    I can only hold 4 tickets on a page

    He tries to place 5 - landing on cardboard and messing around in the numbering

    Dropbox - Indesign

    He tries to place 5

    Bring together all the elements, then run date merge.

  • You are looking for assistance on the use of CSV with InDesign files for merges data...

    Hello

    Please forgive me if this has been discussed in this forum already. If so, please point me to this discussion.

    What I'm trying to do, it's a data merge InDesign with a (CSV) file delimited by commas. I created the CSV file by using the command "SaveAs CSV" with Office Excel 2013. The problem I have is with records that contain multiple lines in the same area. After reviewing the merged InDesign document, I noticed that the results are inaccurate for the rest of this record. When it gets to the record following some fields are filled with the remaining records of the previous record.

    I'm sorry if I'm not explaining this very well, but the results are strange and I hope others have similar results and can offer a solution.

    Thank you

    Greg

    You can't have line breaks in a cell. The solution is to use a code for the break, and then run find/replace after the merger to change the code to break you.

  • help to merge data

    Hi Experts

    need your help for my one of the requirements. My database is oracle 11g.table name is STG_TABLE.
    the table structure is as below
    select * from stg_tables where batch_id in('2806','2805')
    BATCH_ID     COMMITMENT_NUM     SAP_CREDITMEMO_NUM     SAP_ORDER_NUM     CREDIT_AMOUNT     SAP_CUST_NUM     RECORD_STATUS     RECORD_STATUS_MSG     HANDSHAKE_DATE
    2805     209427     81034559     30386865     34     1000035     S     Billing document successfully posted     2/13/2013 18:42
    2806     209427     85287754     40180808     60     1000035     S     Billing document successfully posted     2/13/2013 20:33
    2806     209534     85287755     40181806     60     1000037     S     Billing document successfully posted     2/13/2013 14:42
    2806     209534     85287755     40181806     90     1000037     S     Billing document successfully posted     2/13/2013 14:42
    here for the same value of the column commitment_num if batch_id are different so don't have nothing to do, but if batch_id are the same, I have to record merging
    credit_amount column value must be sum (credit_amount) and all records must be converted into a single record... as below for the above data.
    BATCH_ID     COMMITMENT_NUM     SAP_CREDITMEMO_NUM     SAP_ORDER_NUM     CREDIT_AMOUNT     SAP_CUST_NUM     RECORD_STATUS     RECORD_STATUS_MSG     HANDSHAKE_DATE     SIEBEL_PROCESS_DATE
    2805     209427     81034559     30386865     34     1000035     S     Billing document successfully posted     2/13/2013 18:42     
    2806     209427     85287754     40180808     60     1000035     S     Billing document successfully posted     2/13/2013 20:33     
    2806     209534     85287755     40181806     150     1000037     S     Billing document successfully posted     2/13/2013 14:42     
    Please help me with that and me know if my requirement is not unclear.
    will it be possible using merge?... If I think using simple cursor approce... like take data in the cursor as shown below, then insert the records, but when I should remove existing records then.
    CURSOR abc
          IS
             SELECT   commitment_num AS commitment_num,
                      sap_cust_num AS customer_number, batch_id AS batch_id,
                                      ----CRQ000000161235-Allow Debit-Credit both
                      
                      -- Max(Cust_Ref_Num)           As Customer_Reference,--Commented on 30-aug-2011 madhuri,as per reqt cust-ref should be in *ctl table and invoice# should be in *adcoms table
                      COUNT (*) AS line_count,
                      
                      --Sum(Commitment_Amount)      As Committed_Amount, -- As Per Conversation With Greg Send The Sum Of Approved Amount As Committed Amount.
                      SUM (approved_amount) AS approved_amount,
                      sales_org AS sales_org
                                     --CRQ124450 KS Canadian payments in 9AM feed
                 FROM stg_vg_credits
                WHERE TRUNC (last_update_date) <= TRUNC (SYSDATE)
                       AND siebel_process_date IS NULL and record_status='S'
                       and sales_org='2403'
                                              --CRQ000000161235-Allow Debit-Credit
             GROUP BY commitment_num, sap_cust_num, sales_org, batch_id; 

    You can use MERGE to update some rows and delete others. Here's the code, then I'll explain.

    MERGE INTO stg_tables o
    using (
      SELECT rid, rn, sum_credit_amount FROM (
        SELECT ROWID rid,
        count(*) OVER(PARTITION BY commitment_num, batch_id) cnt,
        row_number()
         over(PARTITION BY commitment_num, batch_id order by handshake_date desc) rn,
        sum(credit_amount)
         OVER(PARTITION BY commitment_num, batch_id) sum_credit_amount
        FROM stg_tables A
        WHERE batch_id IN('2806','2805')
      )
      WHERE cnt > 1
    ) n
    ON (o.ROWID = n.rid)
    WHEN MATCHED THEN UPDATE SET credit_amount = sum_credit_amount
    delete where rn > 1;
    

    Examine the inner query in the USING clause: NTC is the number of lines having the same commitment_num and batch_id. RN numbers these lines, including 1 for the new line. I also have the sum of the credit amount and the IDENTIFIER of the line.

    Now to the outer query in the USING clause: I keep only the lines with the CNT > 1, because others need not be merged. It is important, because you don't want to update the lines that are already OK.

    Now the MERGE statement corresponds to the table and my USING the ROWID clause, which can be very effective. It updates all rows with the new amount of credit, but then he removes all lines except the most recent.

    If you are running twice the MERGER, you will see that the second time it merges "0 rows. No unnecessary update!

    Published by: stew Ashton on 25 February 2013 09:50

Maybe you are looking for