field separator

Friends. as I can separate this record v_s_LineaDet = delimiter ' 10 | manolo1 650 | 50877 | Glosa | salida' LOOP START - get the linea UTL_FILE. GET_LINE(v_f_EntradaDat,v_s_LineaDet,32767);                 DBMS_OUTPUT. Put_line ('Linea:' | v_s_LineaDet);                 ?????????????????                 EXCEPTION: WHEN NO_DATA_FOUND THEN EXIT;                     While OTHER THEN RAISE_APPLICATION_ERROR (-20008,' error no en Lectura registro Controlado' | p_NomArch);                   END;   END LOOP; I need to retrieve the value 50877

Hello

Tricampeon_1981 wrote:

Friends. as I can separate this record v_s_LineaDet = delimiter ' 10 | manolo1 650 | 50877 | Glosa | salida' LOOP START - get the linea UTL_FILE. GET_LINE(v_f_EntradaDat,v_s_LineaDet,32767);                 DBMS_OUTPUT. Put_line ('Linea:' | v_s_LineaDet);                 ?????????????????                 EXCEPTION: WHEN NO_DATA_FOUND THEN EXIT;                     While OTHER THEN RAISE_APPLICATION_ERROR (-20008,' error no en Lectura registro Controlado' | p_NomArch);                   END;   END LOOP; I need to retrieve the value 50877

Why do you want '50877'?  Is it because it's the 3rd point the |-delimited list?

If so, you can use something like

REGEXP_SUBSTR (str

, '[^|] +'

1

3

)

Tags: Database

Similar Questions

  • Field separator height

    Hello

    I have a manager that contains the field separator between fields.

    I have an extra space between the separator and the next field, I don't want to.

    How can I get rid of that extra space?

    Overridden functions of my Manager:

    read this for a customized presentation, getPreferredX does not always help:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

    If you don't like the behavior of SeparatorField you can use paint or paintbackground to draw a line yourself, the Manager or a field.

  • Requirement of BEEP - horizontal list of concat fields separated by comma

    Hi gurus, Experts and all the specialists of the BEEP,

    I have this requirement:
    I need to appear in the report:

    Plan participants: FirstName, LastName1, LastName2 FirstName, FirstName LastName3

    I have this field from the cmdlet list (which means that more than 1 participants)
    LastName
    FirstName

    Please help on how to code it.

    Thank you
    JP

    The following code can be used
    ,

  • How to add the line of separation in the horizontal field Manager

    I want to get as

    name | Age | year

    all this in a horizontalfield Manager, how to do.

    I used the field separator, comes to the entire screen, such as

    name | Age | year

    |       |

    |       |

    |       |

    How do I solve this problem

    Thank you

    You can also do this by substituting your HorizontalFieldManager sublayout() method.

    As:

            h = new HorizontalFieldManager()
            {
                protected void sublayout( int maxWidth, int maxHeight )
                {
                    int width = Display.getWidth();
                    int height = 30; //height of the manager
    
                    super.sublayout( width, height);
                    setExtent( width, height);
                }
    
            };
    

    Concerning

    Bika

  • separator of fields not listed do not

    Guys,

    Here's the code iam adding controls in the Manager, including a field delimiter, but the field separator does not appear

    I don't know why...

    any ideas / help / suggestions

    Rgds

    Nadir Firfire

              hTab1Manager.add(lblCompany);
                hTab1Manager.add(new LabelField("|"));
                hTab1Manager.add(lblSO);
                hTab1Manager.add(new LabelField("|"));
                hTab1Manager.add(lblRpt);
    
                hTab1Manager.add(new SeparatorField());
    
                tab1Manager.add(hTab1Manager);
    

    I guess you are trying to add a Vertical separator in a horizontal field Manager.  You are out of luck using SeparatorField - as you will see if you look at the API:

    public class SeparatorField
    extends the scope

    A field that draws a horizontal line across the width.

    It said the has area of a PORTRAIT as a Style option, but which exposes no constructor that will - at least not in OS 4.7, which is what I checked.

    Assuming that you can not use the vertical line, you need to create yourself, or perhaps to use a class of border on one of your fields.

    I've never tried or the other approach, but I would probably try to create a separator field Vertical, which I guess is not too difficult, you must override the layout and getPreferredWidth getPreferredHeight.  The latest is more complicated, because you'll want from this height, the same as the height of the Manager.

  • Question on how to set the position of the field.

    Is there anyway to set the field position TOP of the screen as Screen.setTitle (Field)?

    My problem is when I add my Manager (who has a backgrond color) for the title. I see a gray line between the title and the body region (the body has a background color even my manager), so I did ' t like it.

    Reason I want to 'FIX' my manager at the top of the screen position is I want to see my manager every time I scroll the screen each time as setTitle().

    THX in advance

    -Maz-

    Try using setBanner() instead of setTitle(). I think that the banner does not normally include a field separator (which is what this line gray).

  • How to select all the text fields at a given time in Adobe Reader ms?

    I created a document that contains more than one text field I created with Acrobat Pro DC, I want to allow the user the ability to select all fields in order to change the text size/color and fonts at the same time... not having to go through the entire form and must make each field separately. To be a little more specific, the document is two pages with six place/lounge cards per page, designed for weddings and other events. Each place card has a field for 'user name' and ' number of table: my question is...» Is it possible to 'select all fields' in Adobe Reader? If I go to Edition > select all, the program selects all graphics and none of the text fields. Not exactly what I'm missing here and I can not find my answer online. Any information would be greatly appreciated.

    Thank you!

    Jodi

    In this case, you can only change the properties of the text selected within a field. Acrobat Reader cannot change the properties of the text field.

  • Can load us a file that contains the joint field delimiter

    Hi guru,.

    Can load us a file that mixed the field delimiter

    EX: -.

    My first 10 lines have as field separator «,»

    from 11 to 20 lines have as field separator «;»

    from 21 to 30 lines have field as separator ' | '.


    123456789
    ABC, def, xyz
    a1d2 | b1cw | xedr23

    Hello

    If you have a special field that allows to identify the differences between these lines, you can use it to create 3 ODI data warehouses.
    Each data store refers to the SAME resource (ie: same file), but you use the option called "REGISTRATION CODE" to differentiate.

    ex: I will add a field 4th on your land, which I will call "block".

    123456789; Block1
    ABC, def, xyz; bloc2
    a1d2 | b1cw | xedr23; bloc3

    I create 3 warehouses of data based on this file.

    First data store: I define ',' as the delimiter
    Second data store: I define ';' as delimiter
    Third-party data store: I define ' | ' as delimiter

    In the properties of the column of the first store of data block, I put 'Block1' value in the 'registration code '.
    In the properties of the column for the second data store block, I put the "bloc2" value in the "registration code".
    In the properties of the column of the third-party data store block, I put the "bloc3" value in the "registration code".

    I think it should work.

  • How can I get text from several fields on a layer, copy a field on another layer?

    A little help please, as he did for years I did any coding of any kind.

    So, I have a document of 4 pages with different types of fields.  I have a document script that gets "TodaysDate" which works perfectly and some other scripts as well.

    So what I try to do is to find a work around for the following:

    I have 3 fields - NAME, first NAME and date of birth.

    Info.jpg

    And I want to what is typed in these fields to fill in 1 field.  And according to this tutorial (http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript) it is not really possible.  At least, I think that's what he said.

    However, I hope that maybe I could have a button to send at the end of this document when you click Copy the text of these 3 areas (that I would on 1 layer) in 1 field on a 2nd layer.  Is it still possible?

    I also want to make the document print, Save (by using the text in the field on the 2nd layer as file name), Email (using the text in the field of the 2nd layer as the subject line) and export to a specific Excel spreadsheet.

    I'm not much I do?

    I'm using Acrobat 9 Pro on a Windows PC, but also have access to Acrobat 8 Professional.  And I want to run the form in Acrobat Reader X.

    So far, I have 3 fields in 1 on another layer:

    function buttonClick() {}

    if(ButtonClick==false)

    {

    Event.Value = This.getField ("Surname"+"-"+"FirstName"+"-" + "DOB") .valueAsString;

    }

    }

    But I don't know how to call the event.value 1 layer to another, or if none of that code above would even work at all.

    I have a script that I works perfectly for registration and Email function:

    Using the function "doc.submitForm ()".

    It is the return e-mail form. Its hard-coded

    to make the shape always comes back to the same address

    Change address on your form

    var cToAddr = " " [email protected] "; "

    First of all, download the customer email CC

    var cCCAddr = this.getField("ClientEmail").value;

    Now get the email recipient if it is filled

    var cBenAddr = this.getField("BennyEmail").value;

    If (cBenAddr! = "") cCCAddr += ';' + cBenAddr;

    Set text object and the body of the e-mail message

    var cSubLine = 'Form X-1 returned to customer'; var cbody = "thank you for submitting your form. \n' + 'save the attachment of e-mail for your own records;

    * Send the form data as an attachment of XML on an e-mail

    Construct the URL to messaging

    var cEmailURL = ' mailto: . " [email protected] ? cc = ' + cCCAddr + '& subject =' + cSubLine + '& body =' + cbody;

    1. this.submitForm({)

    cURL: cEmailURL,.

    cSubmitAs: "XML."

    cCharSet: 'utf-8 '.

    });

    I'll work on export to Excel thing later I saw many tutorials on that.  But I can do the 3 fields to 1 thing at all?

    Help, please!

    First of all, you must understand that in 99% of cases, fields do not exist on layers. The two are separate entities.

    And the code you posted is not correct:

    Event.Value = This.getField ("Surname"+"-"+"FirstName"+"-" + "DOB") .valueAsString;

    You can access each field separately using the getField method, so it should be:

    Event.Value = This.getField ("Surname") .valueAsString + '-' + this.getField("FIRSTNAME").valueAsString + '-' + this.getField("dob").valueAsString;

  • separated by ~.

    I have string input like this

    I have four fields separated by ~.
    required output is separated those value by ~.

    ex:

    1234 ~ 56 ~ 897 ~ 12

    Means:

    1234
    56
    897
    12

    ex:
    ~ ~ 123 ~ 34
    null
    null
    123
    34
    with t as (
       select '12~34~56~78' x from dual union all
       select '~34~~78' x from dual
    )
    --
    -- end of test data
    --
    select
    substr(t.x,1,instr(t.x,'~',1,1)-1) val1,
    substr(t.x,instr(t.x,'~',1,1)+1,instr(t.x,'~',1,2)-instr(t.x,'~',1,1)-1) val2,
    substr(t.x,instr(t.x,'~',1,2)+1,instr(t.x,'~',1,3)-instr(t.x,'~',1,2)-1) val3,
    substr(t.x,instr(t.x,'~',1,3)+1) val4
    from t;
    
  • Copy table Enteries in a field

    The user of the form I am desiging will enter text in a table with two columns. The user has the ability to create additional text boxes in the table contain several names. I wrote a javascript to extract the names of each area and put all the names in a text field, separated by a semicolon at the bottom of the graph. Well, at least that is the idea. This is a chart of what I would like the button 'Copy All' script to do.

    Display.jpg

    JavaScript for the button "copy all".

    var mouse = new Array();

    var loopCounter;

    for (loopCounter = 1; loopCounter == null; loopCounter ++)

    {

    .rawValue mouse [loopCounter] = xfa.resolveNode ("form1. Table1.Row1.TextField [loopCounter] ") +"; " » ;

    }

    Address.rawValue = mouse.rawValue;

    The code returns "Empty" in the bottom text field where I would like all the names to go. Identified errors or ideas on how to best accomplish this task? I do not understand how to get the 'Address' field to the equality of all the results in a table. Thank you.

    Ah ok, so allows you to test for null.

    for (i = 0; i< rowcount;="" i++)="">

    If (Address.rawValue == null) {}

    Address.rawValue = rows.item (i). TextField1.rawValue + ";". " » ;

    Address.rawValue += rows.item (i). TextField2.rawValue + ";". " » ;

    }

    else {}

    Address.rawValue += rows.item (i). TextField1.rawValue + ";". " » ;

    Address.rawValue += rows.item (i). TextField2.rawValue + ";". " » ;

    }

    }

  • engaging multiple values to a text field for a button

    I have a form that has several buttons that uses the items.push (command/script/EC) that you have to put some text in a text field.  People are asking now that they can put several selections from the button in the field.  Can someone point me in the right direction, or suggest a way to do it?

    I have attached a screenshot.  I clicked the button on the left to view features of the buttons and right I already have something of the key and he was placed in the text field.  I would like to be able to place several things in the field of the key even if possible.Screen shot 2011-01-19 at 12.14.18 PM.png

    You could change the code to:

    If {(response)

    Get a reference to the text field

    var f = getField ("competency");

    Add the selected value field, separated by a carriage return (except if the field is empty)

    f.Value = f.value? f.Value + "\r" + elements [answer]: [answer] points;

    } else {}

    App.Alert ("You have not selected an element.", 1);

    }

  • a field that contains a list of sizes or a table?

    Iain was kind enough to advise on the use of a table instead of a field containing a list of 6 comma separated elements.

    I did, but if I can throw new slope on why I prefer to use a field?

    JEWELRY WEB PAGE

    Select * goods where merchandise.category = 'jewels '.

    THE PRODUCT DETAILS PAGE

    When a user clicks on items by top of the page, the hyperlink sends the unique merchandise_ID in the link, a page of details of the product using a query:

    Select * from goods where merchandise.merchandise_ID = URL.merch_ID'

    This gem is available in different sizes. These sizes are in a list separated by commas in a field called "sizes" in the table of the goods. I had been advised to move to a table instead. If I moved to a separate table sizes, I should add a LEFT JOIN to include the size chart or execute a separate query on the size chart (where sizes.merchandise_ID = URL.merch_ID) - which is a drop in performance.

    What should I do with the sizes is produced a menu drop down, the user can choose to - so isn't better I just put sizes into one field, separated by commas? Then use Coldfusions built-in functions to analyze the list in a drop-down list?

    A thought experiment that might convince you.

    To compare these two data patterns.

    CSV

    Agenda Size
    Shirt Small, medium, large
    Coat Medium, small, large
    Pants Small, large, medium
    Shoes Large, small, medium

    STANDARDIZED

    Size chart

    Key Size
    1 Small
    2 Medium
    3 Large

    Article - size join Table

    ItemKey SizeKey
    1 1
    1 2
    1 3
    2 1
    2 2
    2 3
    3 1
    3 2
    3 3
    4 1
    4 2
    4 3

    Roll of the order of the day

    Point of
    Key
    1 Shirt
    2 Coat
    3 Pants
    4 Shoes

    Imagine now these two systems extended to several thousands of items.

    Then imaging that some type of marketing has decided that 'Big' was an ugly description for this size, so they want to change to "Husky" and | or they want to change the size of the 'Small' to 'small '.

    In the standard version, you do one or two update table of sizes.  I don't even want to try to describe the ugly update that you try and create that involves looping and string manipulation to try to update all the records in the CSV version.

  • Join numeric fields

    I have 3 different numeric fields that represent the branch, account number and the numbers of the audit of a bank account

    I also have a text field which, under a validate event, joined the values of 3 numeric fields (separated by a '-' and a ' / ') by using the following code

    If (BRANCH.rawValue! = null & & ACCNUM.rawValue! = null & & VD.rawValue! = null) {}

    JOINED_FIELD. RawValue = BRANCH.rawValue + "-" + ACCNUM.rawValue + "/" + VD.rawValue;

    }

    If I filled in the fields of digital type with for example

    DIRECTION = 11

    ACCNUM = 222

    VD = 3

    the joined field shows 11 - 222/3

    But if I finish the BRANCH field with 0, I get a JOINED field validation error

    Can someone help me how to avoid the warning message when the selected branch is 0?

    Thanks in advance

    Move your code to the event Calculate of the "JOINED_FIELD" field instead of the Validate event.

    You calculate the value of a text field based on the values of numeric fields 3 actually.

    Thank you

    Srini

  • How can I apply the automatic spelling correction for selected fields from the data entered by the users of forms?

    I would like to be able to apply the spelling correction of selected fields in the forms I created using LiveCycle Designer 8.2 at runtime, as opposed at design time.  I understand that version 8 LCD has a spelling corrector new OWL for form designers.  But I want to say check the data entered by users using Acrobat Reader.  And I want to apply the spelling correction automatically on only selected fields.

    Currently it seems that fill out my forms, users must know how manually right-click on each field, and then select "Spell Check" from the dialog box to check spelling mistakes in the data that the user entered into the form.

    I would like to discover a way to apply the correction spelling in certain areas, as well as I am able to do in forms created using Acrobat Pro.  Acrobat Pro, I can set a property for each field to require the spell check.  but this feature seems to be missing in Livecycle Designer.

    I have check the object model for XFA forms hoping I could find a method I can call a JavaScript file, check the spelling based on an event such as onBlur.  But I have not found a method of spelling.

    Am I missing something simple?  Is there a way to define each field out controls when a user is filling out the form using the free software Acrobat Reader?

    Our users are not sophisticated and forcing spell check each field separately just doesn't cut it...

    Any help on this will be greatly appreciated.

    Thank you!

    -David Bartholomew

    Hi David,

    Two things...

    At design time has set the locale of the form to that coming out Acrobat checks. For example the locale English (United States) and English (United Kingdom) have Spellers; However the English (Ireland) does not work. Check the warnings tab to see if the spell checking is supported for your locale.

    If your locale form supports spell checking, so you can go to the script of the button below.

    If you form local does NOT support spell checking, Stephanie has a great work-around to force spell (http://forums.adobe.com/message/2233945#2233945).

    Put a normal button on the form and in the click event must have the following:

    app.execMenuItem ("spelling: spell check");

    Which will open the checker spelling for all fields.  Thanks to Paul for extract all elements of menu available (http://forums.adobe.com/message/1912914#1912914).

    Good luck

    Niall

Maybe you are looking for