First line is repeting while accessing several lines by database fits

Hello

IAM using the card database in the BPEL process to recover data from a remote database. Database adapter, I chose select operation and passing the input parameter.

In fact this adapter should return 10 lines although variable output of this card.

Its lines with 10, but the first line is repeting 10 times.


IAM not able to get 10 rows.only first line is repeting.

Please help me in this.

Thanks in advance

Hello

In the DbAdapter Assistant you can see the SQL query with the parameter that you added.
Can you run on your DB and see if you get the required results?
In addition, you defined a primery key?

Arik

Tags: Fusion Middleware

Similar Questions

  • I can only access buttons of menu on the first line when I use mode full-screen, why?

    Many Web sites I visit have on the first line of the web page in a series of menu options that do not respond when I move the mouse to select options. If I use the mode full screen these buttons work correctly. These buttons work correctly when I use IE or Chrome. I am running Windows 7 and this has happened in the last two weeks.

    Recently, the extension of the Yahoo! toolbar and the extension of Babylon have been reported to cause a problem like that. Disable or uninstall the modules.

       * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    
  • I'm working on a list at several levels, and when my list gets to the two figures on the third level, he pushes the first line of the text beyond the point of withdrawal.

    I played a bit with the indent and spacing in the paragraph without result style. How to get to the line upwards again after this point or just change the withdrawal of this it is so every game, no matter what number he?

    Use a withdrawal left, like 10 mm for iterated section, then set the indentation of first line to 10 mm. (or 15/15 etc., depending on how much you need. Enter a tab between the number and the text in the first line.

    If you use auto-numbering lists, then typing a tab is not necessary, but also take a look at the left indent and the parameters of the line first indent.

  • Extract the first line containing "critical" or "E-Stop" of the last avalanche of line

    Hi all

    I'm watching some test systems by analyzing their audit files.

    In this case, the platform generates several line 100 files in a specific folder. The code below is to find the last file and extract the contents of the last line of the last file.

    Unfortunately, when an error occurs, the main software generates not only one entry, but an avalanche of lines [not a specific quantity of them, depending on how much the alarms are resolved] and I'm now ideas of how I could identify and the contents of the first line containing "Criticism" or "E-Stop" to exit from this avalanche [line avalanche started 22.27].

    As an example, the above program is extract the yellow line, while I need information from the blue line.

    Any idea on how I can do this?

    See you soon,.

    You can add this snippet to the top of your existing code.  I changed the indicator table to a table so I could highlight the line.

  • Truncate the text after the first line in TextFlow

    I have a TextFlow object that is rendered in a Sprite with several lines.

    For a compact display, I now want to show only the first line, followed by 3 dots (...).

    I've not found a good approach up to now.

    There is a support for truncation.  It is limited to cases of use of label and requires the use of the TextLine factories.  There is no support for text editable with truncation.   Example below.

    Hope that helps,

    Richard

    /**
    ADOBE SYSTEMS INCORPORATED
    Copyright 2011 Adobe Systems Incorporated
    All Rights Reserved.

    NOTICE:  Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the Adobe license agreement
    accompanying it.  If you have received this file from a source
    other than Adobe, then your use, modification, or distribution
    of it requires the prior written permission of Adobe.
    */
    package
    {
        import flash.display.DisplayObject;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.geom.Rectangle;
        import flash.text.StyleSheet;
        import flash.utils.ByteArray;
       
        import flashx.textLayout.container.ContainerController;
        import flashx.textLayout.conversion.TextConverter;
        import flashx.textLayout.elements.TextFlow;
        import flashx.textLayout.formats.TextLayoutFormat;
        import flashx.textLayout.factory.StringTextLineFactory;
        import flashx.textLayout.factory.TextFlowTextLineFactory;
        import flashx.textLayout.factory.TruncationOptions;
       
        [SWF(width="500", height="500")]
        public class Truncation extends Sprite
        {
           
            public function Truncation()
            {
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
               
                // sample of truncation with the StringFactory
                var stringFactory:StringTextLineFactory = new StringTextLineFactory();
                var stringSprite:Sprite = new Sprite();
                stringSprite.x = 25; stringSprite.y = 25; addChild(stringSprite);
                // this bounds has no maximum height
                stringFactory.compositionBounds = new Rectangle(0,0,200,NaN);
                stringFactory.text = "This is an extremely long and overly verbose string of text that I would like to see trunctated.";
                // truncate after two lines
                stringFactory.truncationOptions = new TruncationOptions(TruncationOptions.HORIZONTAL_ELLIPSIS,2);
                stringFactory.createTextLines(function (obj:DisplayObject):void { stringSprite.addChild(obj); });
               
                // sample of truncation with the TextFlowTextLineFactory
                var flowFactory:TextFlowTextLineFactory = new TextFlowTextLineFactory();
                var flowSprite:Sprite = new Sprite();
                flowSprite.x = 25; flowSprite.y = 75; addChild(flowSprite);
                // this bounds has no maximum height
                flowFactory.compositionBounds = new Rectangle(0,0,200,NaN);
                // truncate after three lines with a big red ellipsis
                flowFactory.truncationOptions = new TruncationOptions(TruncationOptions.HORIZONTAL_ELLIPSIS,3,TextLayoutFormat.createTextLayoutFormat({ fontSize:24, lineHeight:0, color:0xff0000 }));
                flowFactory.createTextLines(function (obj:DisplayObject):void { flowSprite.addChild(obj); },TextConverter.importToFlow(Data.markup, TextConverter.TEXT_LAYOUT_FORMAT));
            }
        }
    }
    class Data
    {
        public static const markup:String = "" +
            "

    The following excerpt is from Ethan Brand by Nathaniel Hawthorne.

    " +
            "

    There are many such lime-kilns in that tract of country, for the purpose of burning the white marble which composes" +
            " a large part of the substance of the hills. Some of them, built years ago, and long deserted, with weeds growing in the vacant round of the interior, which is open to the sky," +
            " and grass and wild-flowers rooting themselves into the chinks of the stones, look already like relics of antiquity, and may yet be overspread with the lichens of centuries to come." +
            " Others, where the lime-burner still feeds his daily and nightlong fire, afford points of interest to the wanderer among the hills, who seats himself on a log of wood or a fragment " +
            "of marble, to hold a chat with the solitary man. It is a lonesome, and, when the character is inclined to thought, may be an intensely thoughtful occupation; as it proved in the case " +
            "of Ethan Brand, who had mused to such strange purpose, in days gone by, while the fire in this very kiln was burning.

    The man who now watched the fire was of a " +
            "different order, and troubled himself with no thoughts save the very few that were requisite to his business. At frequent intervals, he flung back the clashing weight of the iron door, " +
            "and, turning his face from the insufferable glare, thrust in huge logs of oak, or stirred the immense brands with a long pole. Within the furnace were seen the curling and riotous flames, " +
            "and the burning marble, almost molten with the intensity of heat; while without, the reflection of the fire quivered on the dark intricacy of the surrounding forest, and showed in the " +
            "foreground a bright and ruddy little picture of the hut, the spring beside its door, the athletic and coal-begrimed figure of the lime-burner, and the half-frightened child, shrinking " +
            "into the protection of his father's shadow. And when again the iron door was closed, then reappeared the tender light of the half-full moon, which vainly strove to trace out the " +
            "indistinct shapes of the neighboring mountains; and, in the upper sky, there was a flitting congregation of clouds, still faintly tinged with the rosy sunset, though thus far down " +
            "into the valley the sunshine had vanished long and long ago.

    ";
    }

  • Paragraph style, first line "BOLD"

    Hi all

    I try to give a column in a table definition in which the first line is "BOLD" and the rest of the cell is not, like this:

    ---------------------------------------------------------------------------------

    2 3 column cell

    Name of the company
    Address

    Address

    2 4 column cell

    Name of the company
    Address

    Address

    ---------------------------------------------------------------------------------

    I don't know if this is even possible, but it would be a great help.

    I apply the paragraph as follows to the second column:

    ---------------------------------------------------------------------------------

    myTable.columns [1].cells.everyItem () .texts [0] .applyParagraphStyle (contentText);

    ---------------------------------------------------------------------------------

    Here's the paragraph contentText:

    ---------------------------------------------------------------------------------

    contentText var = myDocument.paragraphStyles.item ("contentText");

    Try

    {

    var contentTextName = contentText.name;

    }

    catch (MonErreur)

    {

    contentText = myDocument.paragraphStyles.add({name:"contentText"});)

    }

    contentText.appliedFont = "Arial";

    contentText.fontStyle = "Regular";

    contentText.pointSize = 10;

    contentText.spaceAfter = 10;

    contentText.spaceBefore = 10;

    contentText.fillColor = myDocument.colors.item ("Black");

    ---------------------------------------------------------------------------------

    Is there a way to leave only the first line to be bold?

    Thanks in advance,

    Greetings

    Hello

    You can work with a line for your paragraph style style, if your lines of text are not separated by the sign of paragraph as in a good example shown here:

    If your text is composed as in the example on the left using signs of paragraph, you need a paragraph style distinct for the first paragraph with Arial Bold.

    As already noted Willi Adelberger.

    Example for adding a nested line style:

    var doc = app.documents[0];
    
    // Your paragraph style name that later should contain a line style:
    var paraStyleName = "contentText";
    // For defining a line style we need a character style:
    var charStyleName = "FirstLineBold";
    // All properties for the paragraph style:
    var paraStyleProperties =
    {
        name : paraStyleName ,
        appliedFont : "Arial" ,
        fontStyle : "Regular",
        pointSize : "10 pt",
        spaceAfter : "10 pt",
        spaceBefore : "10 pt",
        fillColor : "Black"
    };
    // All properties for the character style we need for the line style:
    var charStyleProperties =
    {
        name : charStyleName ,
        fontStyle : "Bold"
    }
    
    // Check, if the needed styles are there:
    
    // The paragraph style.
    // using IS NOT VALID is recommended
    if(!doc.paragraphStyles.itemByName(paraStyleName).isValid)
    {
        var paraStyle = doc.paragraphStyles.add(paraStyleProperties);
    }
    else
    {
        var paraStyle = doc.paragraphStyles.itemByName(paraStyleName);
        paraStyle.properties = paraStyleProperties;
    };
    
    // The character style.
    // using IS NOT VALID is recommended
    if(!doc.characterStyles.itemByName(charStyleName).isValid)
    {
        var charStyle = doc.characterStyles.add(charStyleProperties);
    }
    else
    {
        var charStyle = doc.characterStyles.itemByName(charStyleName);
        charStyle.properties = charStyleProperties;
    }
    
    // At this point we have a valid paragraph style and a valid character style.
    // Now let's add a line style.
    
    /*
        Note and warning:
        In case the paragraph style already has one or several line styles we
        have to either remove them to get our new line style at "pole position",
        because there is no move() method to bring a new line style up in the stack of line styles.
    
        Or we have to redefine the first line style. Which is done below.
    
        About removing line styles:
        Tested and is not working with CS6. Could be a bug.
        paraStyle.nestedLineStyles.everyItem().remove()
        So I think it is best to loop through and remove them one by one.
    
    */
    
    // Redefining the first line style if there is already one.
    // Else add a new one.
    
    // Note: Using the properties-property is not working here:
    
    if(paraStyle.nestedLineStyles.count()>0)
    {
        paraStyle.nestedLineStyles[0].appliedCharacterStyle = charStyle;
        paraStyle.nestedLineStyles[0].lineCount = 1;
    }
    else
    {
        paraStyle.nestedLineStyles.add({appliedCharacterStyle : charStyle , lineCount : 1});
    }
    

    For DOM documentation, see the following sources:

    Jongware:

    InDesign JavaScript help

    Gregor Fellenz:

    InDesign ExtendScript API (8.0)

    InDesign ExtendScript API (10.0)

    InDesign ExtendScript API (11.0)

    Kind regards
    Uwe

  • Get the first line selected on the CommandButton Click

    Hi guys,.
    My version of jdev is 11.1.1.5.0. I have table on my Page of Adf.

    < af:table value = "#{bindings." MyvwVO1.collectionModel}.

    var = "row" rows = "#{bindings." MyvwVO1.rangeSize}.

    emptyText = "#{bindings." MyvwVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    filterModel = "#{bindings." MyvwVO1.queryDescriptor}.

    queryListener = ' #{bindings. " MyvwVO1.processQuery}.

    filterVisible = "true" varStatus = 'vs' rowBandingInterval = '1 '.

    columnSelection = 'single '.

    Summary = "Table of suppliers.

    selectionListener = "#{bindings." MyvwVO1.collectionModel.makeCurrent}.

    rowSelection = "single" id = "t2".

    "partialTriggers =": soc1: ctb2: cb22.

    fetchSize = "#{bindings." MyvwVO1.rangeSize}.

    Binding = "#{MyBN.supplierTableBinding}" >

    < af:column id = "c14" frozen = "true" align = "center" >

    < af:commandButton action = "viewNext" text = "Next view" id = "cb1" >

    < af:setActionListener from = "#{bindings." CurrSupplierSiteId.inputValue}.

    to = "#{bindings." SupplierSiteID.inputValue} "/ >"

    < af:setActionListener from = "#{bindings." CurrSupplierSiteId.inputValue}.

    to = "#{MyBN.supplier_site_id}" / >

    < / af:commandButton >

    < / af:column >


    When I'm clicking viewNext button. When debugging, I get first line provider site Id instead of the current line selected.

    I also removed the selectedRowKeys of af: table. Now his show is not first line select default, but still get the Site Id of first line supplier back Bean.

    {} public void setSupplier_site_id (number supplier_site_id)

    This.supplier_site_id = supplier_site_id;

    }

    public {getSupplier_site_id() number

    Return supplier_site_id;

    }

    No idea what I'm doing wrong.


    Thank you

    Raul

    you pass line value.right... so from value as link will not be work.try send as #{row.abc.value} go on setactionListener and so on. You pass the rank value.

  • Using of "get the N first lines only" does / * + FIRST_ROWS ([N]) * / redundant index?

    I know FIRST_ROWS indicator shows the optimizer to minimize the time of the first row.  I know that the new feature of 12 c for "fetch [FIRST |]» [NEXT] [N] LINES [ONLY |] WITH LINKS] "get first/next N lines only / with ties" will implement the query using ROW_NUMBER().  Should I leave hint in case it improves performance, or the clause FETCH FIRST made this redundant suspicion?

    Hi Wes and Hoek,

    Oracle said on the indicators in the 12 c setting guide. Each version of this statement becomes stronger.

    The disadvantage of the advice is additional code that you must manage, audit and control. Tips have been introduced in Oracle7, when users have little recourse if the optimizer generated suboptimal plans. Because changes in the database and host environment can make obsolete tips or negative consequences, it is a good practice to test the use of indicators, but use other techniques to manage the execution plans.

    Oracle provides several tools, including how to set up SQL, SQL plan management and SQL Performance Analyzer to solve performance problems unresolved by the optimizer. Oracle strongly recommends that you use these tools instead of advice because they provide new solutions like the change of environment data and database.

    Oracle presents advice in V7, basically as an admission that its optimizer based on CSSTidy based cost did not get things right all the time and tried to get rid of them since. In addition, the preferred method of setting when you are browsing the major updates was to review advice to remove them. It will be interesting to what extent can it be pushed in V12.

    In what concerns the first lines index and ROWNUM limiting, unless you just try to get the garbage data, it's meaningless without the presence of an ORDER BY. Once you have an ORDER BY, the query must retrieve all the data before it can return anything. The exception to this rule is if there is an index that the database can use to retrieve already ordered data, that is to say on the order of columns. Therefore, the essence of the indication of FIRST LINES. It will be aggressive looking in the index in favor if the index is in line with the order of. (Try the setting of a SIEBEL instance if you need proof)

    I don't have a 12 c to test at the moment, but looking at the examples of Martin, it appears the optimizer is aware of the new windowing function in the new FETCH FIRST/NEXT structure and selects a plan that gives the best answer. If you go through the effort to review suggested rownum limited requests to remove the tips if possible, maybe you should just rewrite with new windowing function.

    Concerning

    André

  • Missing RowSetIterator of first line

    ADF hello friends,

    I have a problem with the following code.
    JDEV version 11.1.2.2.0

    {} public void doSomething (ActionEvent actionEvent)
    BindingContext bctx = BindingContext.getCurrent ();
    BindingContainer bcon = bctx.getCurrentBindingsEntry ();
    DCBindingContainer dcbcon = bcon (DCBindingContainer);
    DCIteratorBinding dciter = dcbcon.findIteratorBinding("EmployeesView1Iterator");
    RowSetIterator rsiter = dciter.getRowSetIterator ();
    System.out.println ("COUNT:" + rsiter.getRowCount ());
    int i = 0;
    rsiter. Reset();
    While (rsiter.hasNext ()) {}
    Line = rsiter.next ();
    System.out.println (++ i + ":" + row.getAttribute ("LastName"));
    }
    rsiter.closeRowSetIterator ();
    }

    Shortened SOP output:

    COUNTY: 107
    1: Kochhar
    2: the Rooster
    .
    .
    -
    106: Gietz

    The RowSetIterator swallows the first line Mr.King. Is there a work around for this problem?
    The SOPs COUNT shows 107 lines, but LASTNAME has only 106 entries.

    Thank you for your help.

    Best regards
    Gunnar

    This is normal if your iterator is used on a page in the user interface. In this case, the reset method sets the iterator to the first row and not before the first row (which is normal for other iterators). So when you run essential next() you jump the first row.
    To resolve this problem, you can either use an ieterator that is not used on a page in the user interface or rewrite your loop of

    Row row = rsiter.first();
    while (row != null)
    {
    // work with the row
    row = rsiter.next();
    }
    

    Timo

  • make the first line of each paragraph "BOLD"

    Hi all

    I read this forum, but I can't really find the answer, I need.

    Here's my problem, we intend to automate the flow of text in our Organization, that's what I have to do

    -read the input from the story of a database

    -flow text into a text box in particular for example 4.5 cm wide

    -each paragraph will be had 2 new lines

    -Select the first line of each paragraph then putting in bold.

    in the above list, I can do everything except the first paragraph selection and putting in bold. I am looking for the selection of text I see there is a function called textframe.select?

    Can someone help me with this please?

    This severely reduced your options. (Which reminds me, you can specify a detail important like that from the beginning the next time.)

    The simple solution would be to apply your "BOLD" font (or better: a character style) in the first line of each paragraph by using the property of a paragraph .lines. UH customary ‑‑ link to the HTML version of the omitted OMV, it seems I'm not coming back as much as CS2... (Is there a CHM for it to http://www.jongware.com/idjshelp.html).

    This should work:

    App.Selection [0] .paragraphs [0]. Lines [0] .appliedCharacterStyle = "YourBoldCharStyle";

    ... With your cursor in the paragraph you want to change. Will adjust to meet your specific needs.

    There is a drawback of the simple method. Unless you use a special police who makes bold with the same width as her (quite rare) usually, the text will be redistributed after he applied. So there are one or more words in bold on the next line, so you must remove the tank style "BOLD" of those. But! At that time InDesign may determine that these non-bold words may go back on the first line!

    Well written code does not help, because it could be possible the same word oscillates backwards with each change between the first and the second line, each time to cheat... At * some * point you'll have to help the poor ID a bit; perhaps to fix this first line with No Break applied.

  • Pulling on the first line with a value of repetition

    Hello
    We use the Oracle 11.1.

    We have a table of postal codes.

    We have several lines for each zip code because we have different areas that use the same zip code.

    We want to reduce the lines of a line by zip code. But they said use they want to keep the fields that differ (neighborhood of the exodus).

    Then they said "Just take the first value of each."

    This code reduces the postcodes of a line by postal code, but as you can see I replaced the field with the name of the field values.
    SELECT distinct  ZIPCODE, CITY, STATE, COUNTY, AREACODE, 'CITYTYPE', CITYALIASABBREVIATION, 'CITYALIASNAME', LATITUDE, LONGITUDE, TIMEZONE, ELEVATION, COUNTYFIPS, DAYLIGHTSAVING, PREFERREDLASTLINEKEY, CLASSIFICATIONCODE,
               MULTICOUNTY, STATEFIPS, 'CITYSTATEKEY', 'CITYALIASCODE', 'PRIMARYRECORD', CITYMIXEDCASE, 'CITYALIASMIXEDCASE', STATEANSI, COUNTYANSI
        FROM   zip_code
    GROUP BY   ZIPCODE, CITY, STATE, COUNTY, AREACODE, CITYTYPE, CITYALIASABBREVIATION, LATITUDE, LONGITUDE, TIMEZONE, ELEVATION, COUNTYFIPS, DAYLIGHTSAVING, PREFERREDLASTLINEKEY, CLASSIFICATIONCODE, MULTICOUNTY, STATEFIPS,
               CITYALIASCODE, PRIMARYRECORD, CITYMIXEDCASE, STATEANSI, COUNTYANSI
    order by zipcode; 
    How should I take either one record per postal code with the first value in these fields or

    How should I take the first record for each zip code?

    either way works for me.

    Thank you

    Hello

    This is called a Query Top - N , and this is a way to do it:

    WITH     got_r_num     AS
    (
         SELECT     z.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  zipcode
                                   ORDER BY          city
                             ,                ...   -- add tie-breakers here
                           )      AS r_num
         FROM    zip_code
    )
    SELECT     *     -- or list all columns except r_num
    FROM     got_r_num
    WHERE     r_num     = 1
    ;
    

    You can simply use MIN or MAX on the columns, as the line with the name of the minimum city do not lowest have area code or the longitude. The above method preserves the first line of each zip code intact, where the 'first': the first in order of aphabetic by the name of the city. If it is not unique, then you may want breakage to the analytical ORDER BY clause.

    If you are deleting rows, you can use this in a NOT IN subquery. If you copy lines to a new table, you can use the query above in an INSERT statement.

    Published by: Frank Kulash, March 18, 2011 12:40

    I just see Polywog response:

    Pollywog wrote:
    You can use the rank or rownumber function...

    If I understand the problem, you don't want to use RANK in this particular case. When there is equality, GRADE will assign 1 to all the contenders. I think the whole point of this thread is that you exactly want a #1 in each zip code, which is what ROW_NUMBER, but not RANK, guarantees.

  • How do to "BOLD" in the first line of text on a number of sections of text at a time

    CS5 using (but we have CS5

    .5 available) we will create a business directory. Each page has columns of type

    business listings with the company name on top, under this address under this phone, etc.  Each ad is separated

    by a single line. There are thousands of ads, and we need to "BOLD" in the top line of each. How can do us

    without making them individually?

    Each line a paragraph, or each list a paragraph with soft returns (forced line breaks)?

    It's very simple and basic in both cases an operation. It is especially easy if each ad has the same number of lines, so we will focus first with this case.

    Each line should be a separate paragraph. If you have 4 lines, as your example, you might want to mention their name, street, city, and phone. You can and should, all the styles that will be similar in appearance on the same basic model and change only the atrributes that are different, so, for example, if all lines use the same font, many use the same size and weight and only the top line is different and only by being "BOLD" and or larger size start by defining the street, then city and phone based Street and you don't need to define something more than the next Style, I'll get to in a second.

    For topics, set name based as well on the street, but change the font characters. Now all the features of the basic fonts can be changed in one place, the definition of the style Stree.

    Since you have the same number of lines in each list, you can set up a loop "next style". For name, style next street is, the street is the city, for the city it is the phone and is name for the phone. You will also need to toe after the add space in the name, or space on the phone to book spaces registration and you probably also consider to assign everything except phone keep with the next line to prevent a list from breaking across a page or column break. If currently you have blank lines as separators (empty paragraphs), get rid of them. There are change queries find already registered in ID that will do that.

    Once the text is in place and the styles are defined, you can select all, then right click on the style name in the paragraph Styles Panel and choose apply following Style and name. Reformatted your entire list. IT IS CRITICAL in this method that the structure of each list is identical, and if there are no empty lines between the lists.

    If each line is a paragraph, but there is line different counts, you will probably reach with just two styles, one for the headings oand one for everything else, but the beat of following style will not work. If there is something unique that appears in all the headings you can use find/replace to make search and reformat in shape, but I suspect that this will not be the case on in the real world, there will be a manual work involved.

    Where a lisitn is a single paragraph, line break forced (which is better suited to the case of an uneven lines by registration number) you can define a character style nested to be applied by means of a line break forced to make the first line "BOLD", red or any other thing you want.

    At this point, you are probbly, noting that a bit before planningn is a good idea when you do a directory so that your ads have some sort of coherent structure that allows for automation. I have no idea whre that your text is coming from or how it is done in the code. If it can be established as a .csv or a tab-delimited text file, you can use data merge to fill a file based on a model of merge (i.e., how to build directories for my clients who need). You can set styles in the model to each field or paragraph that contains several fields, and merge data will remove empty lines if all row fields are null and there is no punctuation or whitespace on the line.

    A multiple records per page fusion will give you individual blocks of text for each record, and you can, if you wish, thread them using the script text point of Rorohiko.com.

  • How can I get the first line of a paragraph style indent, but others not in withdrawal

    I created a style of paragraph indented on the first line of each paragraph. In most of the books, at the start of the first line of a chapter, this line is not indented while the rest are. Is there a way to set up in InDesign CS3? Is the only way to make this work is to manually go out the tab at the start of each chapter?

    2 paragraph styles.

    1 paragraph style has no dash

    2nd paragraph style has dash

    set "next style" in 1st paragraph for paragraph 2e style style

    the "next style" value in the style of paragraph 2 to "even".

    Existing text.

    Select all of the text

    Right-click on the 1 paragraph style and select apply style then next style.

    New text (typeing)

    Start typing with the selected 1 paragraph style. When you press ENTER to start a new paragraph, the style will switch automatically to the 2nd paragraph style to what manually enable you return.

    HTH

    -mt

  • CFDOCUMENT cut the last and the first line in the pages

    Hello, all:

    I use the CFDOCUMENT tag to create a pdf file. It's a line of simple text and images (for example, width = height 58 = 58). All right,
    but the last line and the first line fell by half. The line is half pages.
    I have download correction [hf701 - 60212.zip], but have the same problem.

    Please tell me how to set the page layout?
    I use windows XP. the text is displayed as < PRE > tag, pictures < IMG SRC = "" * "width = height 58 = 58 >."

    Kind regards

    There are several fixes to this problem. Latest fixes just be published in the last several days. If you use cfmx7.01, you must apply the hotfix in this technote. This fix should be used even if you have applied the hotfix rollup 2 for 7.01 or you apply the individual hotfix (hf701 - 60212.jar) prior to 04/08/2006.

    If you use 7.02, you must apply the fix of this technical note. Apply the additional fixes to cfdocument, he released with 7.02.

  • First character left in file by reading the first line in text file

    When you use the function of reading text from a file file, I noticed that the 1st character is left in the file. I read the line correctly.

    When adding a 2nd line this character is in the file.

    Part vi code is attached.

    Any ideas?

    Thank you.

    Elik

    Can you attach a file of real data and tell us what you mean by "first character". The number of characters per line do you have?

    Can you tell us what you see in the modified file and what you expect to see.

    Everything seems good.

    1. Read you the first line and so the file pointer is just after the first line
    2. You set the size of the file at the end (seems unnecessary, because it does nothing). The file pointer is always right after the first line.
    3. You write the first line you read concatenated with a second line. It will be written on the current file pointer, i.e. after the existing line
    4. The first line is in the file twice, as planned.

    Setting the file size to the 'end' on an existing file does not have something useful. If you want to set the position of the file instead?

    Try to set the file position from and new data will be written at the beginning of the file.

Maybe you are looking for