How do I recognize and treat seperately entries in a text box?

I've placed a text box in a report that is populated by data entries that are seperated by a semicolon.  Each entry is unique and distinct.  I want to try to count and group these individually, but since they exist in a text box seperated by a semicolon, how can I treat them as unique?  Here is an example: 
02 Inadequate Policies and/or Procedures;01 Lack of Policies and/or Procedures;05 Inadequate Separation of Duties;10 Financial Systems Deficiency;

Hi,
Whether the values is fixed ie, you will get a string with 5 values which is :;: seperated.
If it is fixed you can use a way.
for ex; you have a string of 5 values.
first formula u write : Stringvar
Variablename := split(Fieldname,';')[0]
like that five formula.
Then you can take the count(Variablename).
Regards,
Sathish

Similar Messages

  • How do I fill and show/hide a series of text boxes based on checkboxes?

    I have a series of checkboxes on a form (each of which requires some additional information to be entered) and a series of text boxes further down the page to house any necessary detailed information. 
    I have hidden the detail fields and coded the form so that for each of these checkboxes that is checked a row of detail text boxes appears with the checkbox title in the activiy type field, and if a checkbox is subsequently un-checked the last row of detail text boxes is hidden. 
    The problem with this is that if the user unchecks any box other than the most recently checked one the data for the option they just unchecked still shows, but the data for the last option they selected does not. 
    Does anyone have a solution that would make sure the detail fields for the boxes that are checked is displayed in the detail text boxes that are showing when a checkbox is unchecked, regardless of the order in which the boxes are checked/unchecked?
    This is what my form looks like, with the example where Cash Withdrawals is unchecked but appears in the detail and Remote Deposit Capture is checked but was hidden with the last line:
    The detail groups are named Act1.child, Act2.child, etc. where the description field (filled in the example above) is Act1.type, Act2.type, etc.
    Here is the script I'm using on the checkboxes to achieve what I'm getting now:
    var useSet = this.getField("Set").value;
    var clrSet = this.getField("Clr").value;
    var useType = useSet + ".type";
    var clrType = clrSet + ".type";
    if (this.getField("CheckboxName").value != "Off") {
        this.getField(useType).value = "Check Box Desription";
        this.getField(useSet).display = display.visible;
    else if (this.getField("CheckboxName").value == "Off") {
        this.getField(clrType).value = "";
        this.getField(clrSet).display = display.hidden;
    and here is the script for the hidden boxes that determine what sets are filled and what sets are cleared and hidden:
    Custom Calculation Script for "Set":
    var sOne = this.getField("Act1.type").value.length;
    var sTwo = this.getField("Act2.type").value.length;
    var sThr = this.getField("Act3.type").value.length;
    var sFour = this.getField("Act4.type").value.length;
    var sFive = this.getField("Act5.type").value.length;
    var sSix = this.getField("Act6.type").value.length;
    var sSev = this.getField("Act7.type").value.length;
    if (sOne == 0) {event.value = "Act1"}
    else if (sTwo == 0) {event.value = "Act2"}
    else if (sThr == 0) {event.value = "Act3"}
    else if (sFour == 0) {event.value = "Act4"}
    else if (sFive == 0) {event.value = "Act5"}
    else if (sSix == 0) {event.value = "Act6"}
    else {event.value = "Act7"}
    Custom Calculation Value for "Clr":
    var cOne = this.getField("Act1.type").value.length;
    var cTwo = this.getField("Act2.type").value.length;
    var cThr = this.getField("Act3.type").value.length;
    var cFour = this.getField("Act4.type").value.length;
    var cFive = this.getField("Act5.type").value.length;
    var cSix = this.getField("Act6.type").value.length;
    var cSev = this.getField("Act7.type").value.length;
    if (cSev != 0) {event.value = "Act7"}
    else if (cSix != 0) {event.value = "Act6"}
    else if (cFive != 0) {event.value = "Act5"}
    else if (cFour != 0) {event.value = "Act4"}
    else if (cThr != 0) {event.value = "Act3"}
    else if (cTwo != 0) {event.value = "Act2"}
    else {event.value = "Act1"}

    Hi Andi,
    Please consider the following “solution” too.
    Preliminaries
    An indicator can be considered a variable in JavaScript.
    If P is an indicator, m(P) refers to the value of the indicator.
    Data for Control
    There are four checkboxes: C0, C1, C2 and C3.
    There is an indicator for each checkbox: CP0, CP1, CP2 and CP3.
    If checkbox Ci is checked then checkbox indicator CPi has the value i+1; in other words, m(CPn) = i+1. If checkbox Ci is not checked then checkbox indicator CPi has the value 0; in other words, m(CPn) = 0.
    There are four sets of detail fields: A0, A1, A2 and A3.
    There is a detail fields indicator for each detail fields: AP0, AP1, AP2 and AP3. If detail fields Ak have the details for the checked checkbox Ci then APk has the value i+1; in other words, m(APk) = i+1. If detail fields Ak do not have any details for any of the checked or unchecked checkbox then APk has the value 0; in other words, m(APk) = 0.
    The sets of detail fields are organized in sequence. The “top” or “first” set is AP0. It is followed by AP1. Then followed by AP2. The “bottom” or “last” set is AP3.
    Consider an example with one checkbox selected. In this case m(CP2) = 3; m(AP0) = 3; m(CPi) = 0 for i=0, 1, 3; and m(APk) = 0 for k=0, 1, 3. See the following diagram too (see Figure 1).
    Events, Processes and Additional Data for Control
    Computation begins when a user event is captured by the system (such as a mouse up event in an AcroForm field like a button or a checkbox).
    Checking Process
    If a checkbox is checked (TNj), it is noted with an indicator (P0).
    Shift Process
    Given a noted checkbox, the search for a candidate set of detail fields to use for the noted checkbox begins.
    The first candidate is the bottom of the sequence. This is also the current candidate, k. Thus k=3.
    The current candidate is remembered by marking (TSk,j) the detail fields indicator (APk).
    If k=0 then the shift process ends and the current candidate is the candidate.
    If k > 0 and m(APk-1) = 0, the current candidate becomes APk-1 and step 8c is repeated.
    If k > 0 and m(APk-1) != 0, then the shift process ends and the current candidate is the candidate.
    Unchecking Process
    If m(CPi) != 0 and m(CPi) = m(APk), then the checkbox can be unchecked (TRk,i).
    Shift Process
    If m(APk)=0 and m(APk+1) > 0 then shift (TSk,m(APk+1)). At the end of this shift, m(APk) > 0 and m(APk+1) = 0. Let k = k + 1.
    If m(APk+1)>0 then repeat 9a. If m(APk+1)=0 then the shifting process ends.
    Last Events and Proceses
    Details fields can be initialized (TIk,j) and displayed (TDk,j) or cleared (TCk,j) and hidden (THk,j). These actions depend only on m(APk). However it would be a good idea to trigger these functions right after a shift process ends and on affected details fields.
    Process Diagram of One Checked Checkbox
    Figure 1 is a process model of the checkbox process with one checked checkbox.
    Figure 1 Checkbox Process Model
    Regards,
    John

  • How to show only date in BO webi 3.1 text box

    how to show only date in BO webi 3.1 text box for e.g:-
    01/01/2005  (no time only date)

    hi,
    just check by which format your date is coming
    just create a one variable and check =UserResponse("Transaction Date From (mm/dd/yy)")
    if your output is in format of("mm/dd/yyyy hh:mm:ss a")
    then some format we have to write in todate syntax
    then your final formula for date would be
    =FormatDate(ToDate(UserResponse("Transaction Date From (mm/dd/yy)");"mm/dd/yyyy hh:mm:ss A");"dd/mm/yyyy")

  • How do i change the number of columns within a text box?  I need to go from three columns to one.

    How do I change the number of columns within a text box?  I need to go from 3 columns to 1.  The insert column is highlighted and column break does not work for this.

    Pages '09 does not seem to allow layout breaks in Textboxes.
    Pages 5.2 has the same limitation.
    Use multiple linked Textboxes in Pages '09 to get the layout you want or create your layout in a Word Processing template in the document layer.
    Peter

  • ADF 11g + How to capture the value of a dynamically created input text box

    Hi All,
    I have a requirement where, on selection of the value in a drop down, the input text boxes need to get dynamically populated on the JSPX page. I'm able to bring this functionality, and it is working fine.
    But the challenge right now I'm facing is that, how to read/capture the value entered in those dynamic text boxes on submission of the page. Please help me in getting this resolved.
    Below is the code snippet I'm using for this.
    // Clearing the existing input fields in the Panel form
    while (pf100.getChildren().iterator().hasNext()) {
    pf100.getChildren().remove(pf100.getChildren().iterator().next());
    // Creating the new fields based on the number of IP addresses selected
    for (int i = 0; i < iIPAddress; i++) {
    RichInputText pcPreferredDomain = new RichInputText();
    pcPreferredDomain.setLabel("Preferred Domain / Hostname for Desktop PC/ Laptop - " +
    (i + 1));
    pcPreferredDomain.setColumns(40);
    pcPreferredDomain.setId("pcpfdomain" + (i + 1));
    pf100.getChildren().add(pcPreferredDomain);
    Thanks All in Advance,
    Thanks & Regards,
    Dharmathej M

    As per your method, you are creating the RichInputText components as local variables.
    What happens when you are creating them as class level variables in the managed bean, if you do so, you can refer to the values of the UI components in the actionListener/action code for the command button in the managed bean
    sample:
    public class ManagedBean{
    RichInputText [] pcPreferredDomain;
    public ManagedBean(){
    // Clearing the existing input fields in the Panel form
    while (pf100.getChildren().iterator().hasNext()) {
    pf100.getChildren().remove(pf100.getChildren().iterator().next());
    pcPreferredDomain = new RichInputText[iIPAddress];
    // Creating the new fields based on the number of IP addresses selected
    for (int i = 0; i < iIPAddress; i++) {
    pcPreferredDomain[i] = new RichInputText();
    pcPreferredDomain.setLabel("Preferred Domain / Hostname for Desktop PC/ Laptop - " +
    (i + 1));
    pcPreferredDomain.setColumns(40);
    pcPreferredDomain.setId("pcpfdomain" + (i + 1));
    pf100.getChildren().add(pcPreferredDomain);
    Thanks,
    Navaneeth

  • How can I fill in a default inputText in a Text Box

    How can I fill in a default inputText in a Text Box. Is it possible to create a button and then it should be possible some underlying data fill in the text boxes???
    Please help!

    My coding looks at the moment like that:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ page language="java" %>
    <html>
    <head>
    <title>
    JSF
    </title>
    </head>
    <body>
    <f:view>
    <h:form id="user">
    JSF Application View:<br><br><br>
    Credit Limit:.......
    <h:inputText value="#{User.username}"/><br>
    Currency:...........
    <h:inputText value="#{User.username}"/><br>
    Score:..............
    <h:inputText value="#{User.username}"/><br>
    Valid Date To:......
    <h:inputText value="#{User.username}"/><br><br>
    <h:commandButton value="Receive Data from Background" action="success" /><br>
    </h:form>
    </f:view>
    </body>
    </html>
    Now my question is how it is possible to fill in the inputTextvalue when I click on the Button "Receive Data from Background" Is it possible to define that in that coding above????
    Please help I'm not fit in JSF

  • I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it. help help help please - I have latest version of indesign - thanks

    I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it.
    Is it not possible to create a text box, fill it with dynamic (data driven) text, but make the font size either scale up or down automatically, so that the entire text box is filled? This is a feature in PrintShop Mail Pro called COPY FIT. but no such feature in Indesign??
    help help help please - I have latest version of indesign - thanks, DJ

    lol... it seems to work, but I have another huge problem!
    Apparently .CSV files cannot contain page breaks in the data! The data I am trying to merge is a 'letter', with paragraphs, line breaks, etc.,
    But, after data merging, it ignores page breaks and only merges the first paragraph of each letter. (sigh)
    Solution? Hopefully, an EASY solution. lol as we have thousands of records.
    Is there a third party indesign plugin that will allow .xml, or .xls data merge import??
    Thx,
    DJ

  • How to use a radio button in enabling/disabling a text box in report progra

    Hi,
        Could any please let me know, how to use a radio button in enabling/disabling a text box in report program.

    *& Report  ZMR_RADIO_BUTTONS
    REPORT  ZMR_RADIO_BUTTONS.
    PARAMETERS : R1  RADIOBUTTON GROUP G1,
                 R2  RADIOBUTTON GROUP G1.
    PARAMETERS : A1 TYPE I,
                 A2 TYPE I.
    AT SELECTION-SCREEN OUTPUT.
    *initialization.
    IF R1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF R2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    modify screen.
    ENDLOOP.
    ENDIF.
    START-OF-SELECTION.
    *IF R1 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 1.
    ENDIF.
    *ENDLOOP.
    *ENDIF.
    *IF R2 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 0.
    ENDIF.
    *ENDLOOP.
    *ENDIF.

  • Letter-Spacing is different if I open my file at another Mac of us (Value is at both mac 0, but the text is longor), and if I cklick into the text-box, Illustrator says that the file was made in an other Version of Illustrator. We have on all macs the sam

    Letter-Spacing is different if I open my file at another Mac of us (Value is at both mac 0, but the text is longor), and if I cklick into the text-box, Illustrator says that the file was made in an other Version of Illustrator. We have on all macs the same system, os 10.8.3, cs6 and UTC4. And of course we`re using exactly the same font....

    Packpool,
    I believe the first thing to do is to update to 16.0.5.
    Adobe - Illustrator : For Macintosh

  • How do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • I just want to type on a plain piece of paper. I want to type several pages. I go to Pages and the blank paper has a text box around my type and only lets me type 400 words. How do I expand?

    I want to type several pages of text. I go to Pages and it puts a text box around my text and only allows 400 words. How do I get unlimited paper? Thanks in advance.

    On the introductory window, also make sure you pick from the top choices under Word Processing - I just use "Blank". If you choose the Blank under the sedon set (page layout), you will have to get a text box. I use that setting if I have a lot of images I want to insert and then have text around/near the images.
    See my screenshot here:
    When you're done with that page, it should automatically move to the next one or you can choose another blank page in the pulldown in the toolbar.

  • How to clear font and or fill/stoke attributes from new boxes in InDesign3

    InDesign CS3 --How can I clear out the font style that automatically appears in any new text box I make? It's not the Basic Paragraph Style set up for the document but seems to be something I used in a design months ago. It does the same thing with an old fill color and stroke when I make a new picture box.
    I've looked in the Prefs for some way to clear this and I tried deleting the unwanted font from the document and resaving it but it the same font automatically fills the next new box after I reopen it.
    Thanks for any ideas.
    np

    Hello
    np
    It looks like an Effect just try this out go to object Menu Effects and Clear effects or Transparencies
    Imran

  • Populating dropdown list with entries in multiple text boxes?

    I'm creating a form that needs to be simple to use and complete.  I would like to be able to populate a drop-down list with entries the user puts into text boxes.  Can this be done?
    For more detail:
    In one location is a table, the use will type into a text box a Project Name, then other information such as location and total acres.
    In another location I've got a table where the user will enter the offerings from each project they listed in the 1st table.  It is a long table as it is, I cannot combine the two (will not fit on one page if I do combine them). 
    Instead of making the user type in the project names multiple times, I'd like to be able to take the project names the users input (from table one) and have those entries automatically populate the dropdown list in the second table.
    Any suggestions would be greatly appreciated!!!

    Not exactly a find and replace but you can do it.
    Select the text frames yu want to change the colors using the shift key to click select the frames.
    Then go to Edit>Edit Color>Recolor Art
    You wll see a dialog with red and black bars along side two shorter bars click the shorter bars to select a New Color a color picker will appear you can use the swatches or the color mixer.
    There is a live preview /so you will see the change in case you want to pick a different gray, of course you can always go back to the recolor art dialog.
    I am afraid you manually have to select text frames with multiple colors in order to accomplish what you want but the method above I believe is the only want to change the colors.
    This video shows how the dialog works but pretend the one frame I did not select is another color.
    http://www.wadezimmerman.com/videos/RecolorText.mov

  • How do you select an image that is in a text box?

    Hi There, I am trying to select the image which is inside of the text box. Since I upgraded to Yosemite, I cannot figure out how to do this. If I click and drag the mouse over it, I can select both the text box and the image, but I only want to select the image. Thank you so much!

    Pages v5.2.2 on Mavericks, and v5.5.1 on Yosemite do not give you keyboard or pointer access to the image in a Text Box. There is no alignment or distribution control on the image either. No notion of background/foreground. The Text Box really just acts as a viewport for the image. If the image is in the correct aspect ratio, you can fill the Text Box with the image, otherwise it will clip the image.

  • Find and Replace Font Colors in Multiple Text Boxes

    Hello,
    I have Illustrator version 15
    I made many text boxes with multiple colors, red and black on each letter. I was wondering if there is a find and replace tool for multiple text boxes. I want to change the reds to black and the blacks to light grey. I tried clicking on change swatch color but it only worked for the letter I had selected, even with the global option selected. I then when to select -> Same -> Color Stroke but it just selected each text box on the page....Is there anyway to do this?
    Jordan

    Not exactly a find and replace but you can do it.
    Select the text frames yu want to change the colors using the shift key to click select the frames.
    Then go to Edit>Edit Color>Recolor Art
    You wll see a dialog with red and black bars along side two shorter bars click the shorter bars to select a New Color a color picker will appear you can use the swatches or the color mixer.
    There is a live preview /so you will see the change in case you want to pick a different gray, of course you can always go back to the recolor art dialog.
    I am afraid you manually have to select text frames with multiple colors in order to accomplish what you want but the method above I believe is the only want to change the colors.
    This video shows how the dialog works but pretend the one frame I did not select is another color.
    http://www.wadezimmerman.com/videos/RecolorText.mov

Maybe you are looking for