How do I add auto text based on value in numeric field?

Need help... I'm trying to add auto text to a text field based on a value in a numeric field. I want my text field (summary box) to say "Passed" if the value (score box) is equal to 10 and the field to say "Not Passed" if the value is equal to less than 10. My numeric field is being calculated by selecting drop-down lists.
Thanks in advance for your help.
Ed Watson
Here's a link to the document I created...
https://files.acrobat.com/?trackingid=KGLIT#folder/c3106c32-2e69-4a5f-8ef2-94d25623dbfb

I think I figured it out.  I used the following script:
if(NumericField1.rawValue ==1){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==2){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==3){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==4){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==5){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==6){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==7){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==8){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==9){TextField1.rawValue = "Did Not Pass"}
if(NumericField1.rawValue ==10){TextField1.rawValue = "Passed"}
There's probably a cleaner way to do the same thing but at least this works for now.  Hope this helps someone else.

Similar Messages

  • Cannot update table data based on values of numeric fields

    I have a button on a form with two numeric fields: P11_numeric1 and P11_numeric2.
    I want to be able to either run a stored procedure or execute the update logic. We're on apex 4.0.
    I tried the follow syntax in a process run by a button:
    begin
    schema.procname(:P11_numeric1,:P11_numeric2);
    end;
    And nothing happened.
    If I try to run the proc in toad with hard coded parameter values, the proc works.
    I tried this:
    begin
    update schema.tablename
    set value=:P11_numeric1
    where id=:P11_numeric2;
    commit;
    end;
    And this doesn't work.
    I tried:
    begin
    update schema.tablename
    set value=1
    where id=2;
    commit;
    end;
    And that worked, so I assume the issue is with getting the numeric field values. Am I using incorrect syntax?

    I'm on apex 4.0.2 btw. I had two main problems: 1) the process that my procedure was in was in a sequence number lower than the MRU process sequence number. I didn't want to use the MRU so I changed it to being called by ajax calls only (which I don't have on the page, effectively not firing this process on page submit). Changing the sequence number of the process call to the procedure higher then allowed me to run the stored procedure.
    The next problem was that the fields weren't being passed into the proc.
    It looks like the type of the field made a bit of a difference to sending in the parameter for the procedure. The data is either integer or numeric and if the fields were set to a text field, and the proc was changed to accept varchar2 data and convert using to_number in the proc that the data was accepted and was fine. For the integer fields, I was able to (and wanted to) change the field type to display only as this is a read only screen with an button to save the data. For the numeric fields, for some reason the display field type did not allow the field value to be passed to the stored proc.
    I'll take a look at the session values not getting set but has anyone heard of that happening to display only fields with numeric data specifically?

  • How do I add a text box to an ibook?

    How do I add a text box to an ibook page?

    Not very user-friendly IMHO, but ok here goes:
    Place a picture of the band in your body background's CSS
    with repeat:
    no-repeat. Then add a scrolling division to your html page -
    like so:
    <div align="right">
    <div style="font-family:'Verdana', 'Arial', 'Sans-serif';
    font-size:12px;
    color:#FFFFFF; text-align: left; background-color:#000000;
    border:2px solid;
    overflow: auto; padding:10px; width:auto; height:200px;
    border-color:
    #333333;"><h3>Your heading goes
    here</h3><br><br> More text goes
    here<br><br> and more text goes
    here...</div>
    <p> </p>
    <div style="font-family:'Verdana', 'Arial', 'Sans-serif';
    font-size:12px;
    color:#FFFFFF; text-align: left; background-color:#000000;
    border:2px solid;
    overflow: auto; padding:10px; width:auto; height:200px;
    border-color:
    #333333;"><h3>Your heading goes
    here</h3><br><br> More text goes
    here<br><br> and more text goes
    here...</div>
    </div>
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "strippedman" <[email protected]> wrote in
    message
    news:g4h1ac$pqh$[email protected]..
    > I'm looking more for something like this:
    >
    > www.muse.mu
    >
    > See how there's essentially a picture of the band in the
    background and
    then
    > two text boxes with scrolling capability on the right?
    That's all I
    want...two
    > locked scrolling text boxes on a picture...without using
    flash.
    >

  • How do I add vertical text in a cell

    How can I add vertical text within a cell. In Ecel it is easy as pie but I can't seem to find a quick fix in "numbers"?

    Rotation of text in a table cell is not supported in Numbers.
    The most often recommended workarouns is to use a floating text box. Rotate the box 90° (or other desired value), make sure that Wrap is set to 'none', then place the text box in front of the cell.
    For other suggestions, see some of the posts in the "more like this" list to the right.
    Step 2 is to make a request to Apple that this feature be added. Go to the Numbers menu in Numbers, choose Provide Numbers Feedback (or use the link), make your request that this feature be added to future versions of Numbers.
    Regards,
    Barry

  • How do you add plain text?

    Hi all!
    I have a very simple question, which is just what it says in the subject line of this topic.
    How do I add plain text into iMovie? No fades, no slides, no nothing, just plain text?
    From what I've been searching online, no one has answered this question, but then again, no one has asked it either.
    All I could find was 1 yahoo thread with the question in which the answer was not clear at all.
    I've been trying to find it myself by snooping around in iMovie, but as you might guess, unsuccessfully.
    From snooping around I've come to draw the conclusion that you probably can't add plain text into iMovie via iMovie directly.
    However, and idea I had was, if I create an image in, lets say Paint 2, with whatever plain text I want to add, and then insert it into the project. Will this have the same effect?
    Can anyone please confirm this? I'm going crazy just looking for such a simple feature hehehe.
    Thank you in advance!
    //cez

    hmm, well ... a video isn't meant for reading (resolution, compression, blabla). ...
    so 'text' in a video should be very large in font, avoid tiny details, too much contrasts ... blabla again
    Advice using the Title-feature as 'text' isn't wrong.
    plus, iMovie is no text-processor, you copy/paste larger amounts of letters into it.
    If you need/want 'a page full of text' in iMovie, indeed you have to do the roundtrip by creating a 'picture' of your text-page, and insert that jpg to your Project.
    The good news:
    if your 'picture (=text page) is longer than the video screen, you can apply a nice Ken Burns effect to 'scroll' through the text ... in case, your audience reads as fast as you.
    bad news: max is 5:1 ratio of the 'page' ... so, no 'books' please ...
    Aside Star Wars ("... in a galaxy far, far away from here"), you should avoid 'text' longer than a usual title.
    (this answer/workaround isn't in the 'canned' replies of our hosts, you should forgive'em ... )

  • How do you add subtitles/text to a video?

    How do you add subtitles/text to a video? Is it even possible? I'm working on a video with interviews and I want to write what they are saying underneath.

    Take a look at the Ticker Tape title.
    Also, you can use any Lower Third title. For subtitles, use the second line of the Title, or set the first line so that the Font size is the same as the second.

  • How do i add and email based submit button to a form

    how do i add and email based submit button to a form

    See this: http://help.adobe.com/en_US/acrobat/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBDC.w.html

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • Populate f4 values of a field based on value of other field

    Hi,
    I have created select options using WDR_SELECT_OPTIONS.For one of the fields ,f4 values should be based on value of another field in the screen.
    How will i achceive this requirement.
    I got a link about the same but that is not using WDR_SELECT_OPTIONS
    http://www.sdn.sap.com/irj/scn/logon?redirect=/irj/scn/wiki?path=/display/WDABAP/Using%20Search%20help%20attachments%20for%20WebDynpro%20ABAP
    I got another link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    which I am going to try
    Thanks
    Bala Duvvuri
    Edited by: Bala Duvvuri on Jun 22, 2011 6:49 AM

    Hi,
    Using OVS you can achieve this.,  In OVS Event Handler read the value based on which you  want to display F4 for other field and populate the values based on the first field.
    this link is fine., go through this: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • How do I add multiple text block records from text file?

    The data manager documentation (page 151) for MDM 5.5 SP3 indicates that one or more new text blocks can be added to the Text Blocks object table from files. It is noted that the files must be plain text files.
    I use notepad and create a text file with two lines as follows:
    Test 1
    Test 2
    When I try to add the text blocks following documentation mentioned above, it only adds one record for the Data Group I have chosen and the record contains the entry "Test 1" from the first line in the text file.
    How can I add multiple records to the data group from a file?

    From my testing it appears that you need to have one text file per text block record in Data Manager.
    I wrote VBA macro to so that I could input my text blocks into an Excel spreadsheet and then the macro will take the contents of each cell in a highlighted column and create one text file per cell.
    Then using Data manager, I can select all of the text files at once and it will import them, creating one record per text file.

  • How can I add the text from a Word document to an existing PDF that is my letterhead?

    I have a business letterhead created to a PDF file.  I'd like to add text from letters to this letterhead but do not know how.  Please help.

    Hi tatestar1,
    You would either need to use Acrobat to edit your letterhead PDF, or add the text in whatever application you used to create the letterhead in the first place, and then re-create the PDF. If you have the source file, then the latter may be easier.
    Best,
    Sara

  • How do I add circular text to an image?

    I have successfully cropped/masked a circular image, and now need to add circular text around it. How do I accomplish that?

    Christine,
    Basically, you create a circle, then use the Path Type Tool (ClickHold the Type Tool to get to it) and click with it on the circle where you want the typing to start, then start typing.
    You may create the circle independently and place it, or you may open the Group in the Layers palette, then click the Clipping Mask, then Object>Path>Offset Path by the distance you want between the mask and the circle, then drag the new circle up so it gets out of the group.
    You may wish to use the Paragraph palette (which is with the Character palette) to select Align Center and to click the topmost Anchor Point of the circle to have the type symmetrical from the top.
    You may adjust the Type relative to its circle, and thereby its distance from the mask by changing the Baseline Shift (down is negative); it is in the Character Options. You may need to tick Show Options in the flyout.
    Terms are shown when you hover.

  • How do I add a clip-based timecode burn in to all my clips?

    Howdy —
    I'm trying to add a timecode based on each clip to every clip in my project.  If I select all the clips and add a timecode, it's media-based — and I can't figure out how to change that except one-by-one.  Can you change the timecode preferences before adding them to all of the clips?
    But here's the main thing: the clip timecode just starts from 0, no matter what the clip in the sequence was cut from.  Can I add a timecode that refers to the timing in the master clip?  (i.e. if I'm using the last 10 seconds of a minute-long clip, it'll say: 00:50 at the start).
    Thank you!

    See this section of the Help files to see three ways to do it.
    http://help.apple.com/imovie/#mov3b0fa95d

  • How do I add alt text to images set as background in my asset list?

    I have designed a site in Muse but for some reason all the images are set as background images in the asset list and I can't optimise them for seo as I can't add alt text.
    How can I change this??
    Thanks

    I know I can't add alt tags to background images hence my question - how do I change them from background images - I was unaware you could assign an image as a background in the first place!
    To my knowledge I haven't intentionally set any of the images as background images.
    I need to change them from background images to 'normal' images.
    Thanks

  • How can I add a text( In CRM 2007 called Note) to the current entity?

    Dear Friends,
    I want to add text type 'SU99' with text 'Hello World' to a CRM transaction, how to do this by BOL? Is there any example component for this issue?
    Thanks and best regards,
    Anders

    Hello Anders,
    here a piece of code where we add a text from type S002 to the Servicerequest:
    lr_bt = lr_bt_adminh->get_related_entity( iv_relation_name = 'BTHeaderTextSet' ).
          lr_bt = lr_bt->create_related_entity( iv_relation_name = 'BTTextHAll' ).
          lr_bt->set_property( iv_attr_name = 'TDID'
                                    iv_value = 'S002').
          lv_conc_lines = 'called Tel.'(003).
          CONCATENATE lv_conc_lines lv_phone_no into lv_text.
          lr_bt->set_property_as_string( iv_attr_name = 'CONC_LINES' iv_value = lv_text ).
          lr_core->modify( ).
    I hope this helps.
    Kind regards
    Manfred

Maybe you are looking for

  • ITunes No Longer Opening Automatically When iPad is Connected to PC

    The option appears greyed out and unchecked when first looking at my iPad setttings in iTunes. If I uncheck the item in the following pic in Preferences that option changes to checked. Stilll iTunes refuses to open automatically since iOS 5 update.

  • Addition of extra fields in Standard report

    Hello Friends,               I just wanted to add some extra fields in the standard report MB51, MB52 & MC.1. I wanted to add some of the fields from Basic data1 & 2 screen.               is there any method to do this. Regards ACP

  • SecureTilesPlugin not recognised

    Hi there When I used the secure tiles plug-in from sslext (an SSL Extension for STRUTS), Nitrox complains that ALL tiles artefacts in my action tag in struts-config.xml does not exists! <plug-in className="org.apache.struts.tiles.SecureTilesPlugin">

  • How can I regain control of .bash_profile after making changes to $PATH?

    Hi, Today, I installed Android ADB on my MBP (late 2013) and used the following guide to get it started: http://www.droidviews.com/a-comprehensive-guide-to-adb-android-debug-bridge-and- commands/ - that guide said I should make a change to ~/bash_pro

  • Unknown high data transfer on storage account

    I have an Azure subscription from MSDN Ultimate (running on the old pricing model). There, I run two VMs (West Europe). Both have their VHDs stored in the same storage account (also West Europe). It is geo-redundand by default (didn't change it). The