How to make 2nd Param requried , when First Param is set to Y?

Hi Friends
I have a Concurrent Program with 2 params , Param1 ( accepts Y/N ) and param2 (varchar2) .
If the User gives param1 as Y ,I should make param2 as requried field. If param1 is N, user can leave param2 as null.
Any suggestions, How can i achieve this?
Any sample code using forms personalization. i looked some tutorails but didnt find any
Thanks
Ravi

Here it is
Along with my 2 params, I created a Dummy Param
I created 3 value sets for 3 params
AMS_SRS_YES_NO_MAND (Standard)
CHP_AP_CR_DUMMY (No Validation value set)
CHP_AP_CHECK_REQUEST_ID (Table based value set). Add in the where clause :$FLEX$.CHP_AP_CR_DUMMY = 'Y'
2) Parameters for conc program
10. YES_NO. Value set = AMS_SRS_YES_NO_MAND, Display = Yes, Required = Yes
20. DUMMY. Value set = CHP_AP_CR_DUMMY, Default type = SQL Statement, Statement is
select decode(:$FLEX$.AMS_SRS_YES_NO_MAND,'Y','Y','N',NULL) from dual
Displat = No
30. CR_ID. Value set = CHP_AP_CHECK_REQUEST_ID, Display = Yes, Required = Yes
When you run the cp , if param1 =N' , then param2 is greyed out
and if param1='Y', param2 will be required and user can select value from LOV.
Thanks
Ravi

Similar Messages

  • In windows 7, how to make firefox start automatically when I turn on the computer

    In Windows 7, how to make Firefox start automatically when I turn on the computer. Note, I am asking how to do this with Windows 7, not xp, not vista.

    You need to place a shortcut to open Firefox in the Start > Programs > Startup folder.<br />
    That is basically the same in all Windows versions.

  • How to make VM to suspend when it not use , VDI3.0 with SGD 4.5

    Hi All,
    We are using SunVDI3.0 with VBox 2.0.10 and connecting via SGD 4.5.
    i konw that we can do suspending vm on vmware esx, however i couldn't find it in VirtualBox provider.
    how to make VM to suspend when vm is not using for some period time.
    thanks in advance
    -kevin-
    Edited by: kevin on Sep 27, 2009 5:44 PM

    Hi All,
    We are using SunVDI3.0 with VBox 2.0.10 and connecting via SGD 4.5.
    i konw that we can do suspending vm on vmware esx, however i couldn't find it in VirtualBox provider.
    how to make VM to suspend when vm is not using for some period time.
    thanks in advance
    -kevin-
    Edited by: kevin on Sep 27, 2009 5:44 PM

  • How long does face detection take when first install Aperture3?

    How long does face detection take when first install Aperture 3? 
    I just upgraded from Aperture 2 to Aperture 3 and installed latest updates to Aperture 3.2.2 and I have a message at the bottom of the browser: "Face detection..." with a spinning wheel. This has been going for over an hour.  But it took six hours for Aperture 3 to upgrade my Aperture 2 library (approximately 60,000 photos).  Am I looking at the same sort of time frame for "face detection"?

    Thanks for the info... but I just answered my own question: I went to Aperture Preferences (thanks to someone's suggestion that this is where to turn off Faces) and an activity screen popped up showing Face detection progress. (Cool!) It's going thru all my images... and right now the status is 4,080 of 55,182.  Very nice.  So looks like I have a few more hours to go!

  • HT4642 ios numbers:how to make cell height variable with auto line brake setting ?

    ipad numbers; How to make cell height variable with auto line break setting?

    That's strange. I responded earlier and the whole message got trashed. Hence the test post before retyping the entire thing again.
    Thanks for the reply.
    The video clip is a single screen capture video clip. This is what I've found by playing around with this more.
    The original clip resolution is greater than 640x480. If I use QT Pro to convert the original clip to 640x480 and then use either Flip4Mac or PE7, then the resolution looks good.
    Just trying to figure out if should keep all workflow on the MacOS side. There are several different version of Flip4Mac. $49 gives me 640x480, but if I ever want to make it slightly larger then I would need to go with the $99 or HD version.
    I also tried to export to AVI with QT Pro and the import with Windows MovieMaker but it didn't work really good. I liked the simplicity (since PE7 hogs a lot of resources especially through VMWare).

  • How to make screen field enable when table control gives an error

    Hi,
        I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
    How to make the other parameter enable when table control throws an error.
    Regards,
    Jaya

    Hi Gobi,
         Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
    For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
    as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
    please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
    Thanks
    Jaya

  • How to make view automatically scroll when keyboard show up

    Hi all
    I'm like a totally noob for objective-c coding, let alone the iPhone programing. :P
    Anyway, I somehow manage to create a simple application that receive input via UITextField, do some simple math, then display the result in other UITextFields (which can act as a input vice versa).
    Problem is, when I use the UITextField at the buttom of the screen as an input, the keyboard will block that text field out of my view, so I could not see what I'm typing at all.
    That's the question. How to make my view scrollable, and make it simply scroll itself out of the way when the keyboard is shown? I already inherit my view from UIScrollView, but don't know what to do next. Can you guys help enlighten me, please?
    Thanx

    Of course, if you're dealing with textFields, you should change a few things try something like that in your .m file :
    - (void)textFieldDidBeginEditing:(UITextField *)theTextField
    if ([theTextField isEqual:yourTextField])
    // Restore the position of the main view if it was animated to make room for the keyboard.
    if (self.view.frame.origin.y >= 0)
    [self setViewMovedUp:YES];
    // Animate the entire view up or down, to prevent the keyboard from covering the author field.
    - (void)setViewMovedUp:(BOOL)movedUp
    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:0.3];
    // Make changes to the view's frame inside the animation block. They will be animated instead
    // of taking place immediately.
    CGRect rect = self.view.frame;
    if (movedUp)
    // If moving up, not only decrease the origin but increase the height so the view
    // covers the entire screen behind the keyboard.
    rect.origin.y -= kOFFSETFORKEYBOARD;
    rect.size.height += kOFFSETFORKEYBOARD;
    else
    // If moving down, not only increase the origin but decrease the height.
    rect.origin.y += kOFFSETFORKEYBOARD;
    rect.size.height -= kOFFSETFORKEYBOARD;
    self.view.frame = rect;
    [UIView commitAnimations];
    - (void)keyboardWillShow:(NSNotification *)notif
    // The keyboard will be shown. If the user is editing the author, adjust the display so that the
    // author field will not be covered by the keyboard.
    if ([yourTextField isFirstResponder] && self.view.frame.origin.y >= 0)
    [self setViewMovedUp:YES];
    else if (![yourTextField isFirstResponder] && self.view.frame.origin.y < 0)
    [self setViewMovedUp:NO];
    #pragma mark - UIViewController delegate methods
    - (void)viewWillAppear:(BOOL)animated
    // watch the keyboard so we can adjust the user interface if necessary.
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:)
    name:UIKeyboardWillShowNotification object:self.view.window];
    - (void)viewWillDisappear:(BOOL)animated
    [self setEditing:NO animated:YES];
    // unregister for keyboard notifications while not visible.
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillShowNotification object:nil];
    be sure to invoke the method when you dismiss the keyboard, so that the view "falls back" to its normal state:
    if (self.view.frame.origin.y < 0)
    [self setViewMovedUp:NO];
    Of course, declare the method
    (void)setViewMovedUp:(BOOL)movedUp;
    in the .h file
    and the #define you will use in you .m file :
    // the amount of vertical shift upwards keep the text field in view as the keyboard appears
    #define kOFFSETFORKEYBOARD 50.0
    // the duration of the animation for the view shift
    #define kVerticalOffsetAnimationDuration 0.30
    good luck !

  • How to make the page expired when user click back

    how to make the page as expired when i click back button on the browser.
    i want a better way.
    actually i have a timer.when it reaches 00.00 then the expired page will be called automaticlly using location.href="expired.jsp" then if the user clicks back it should not show the previous page.this concept is applied with paging concept
    response.setheader is not working ...
    i have redirect when click back using
    <body onunload>....i call another page here.
    but it is not a good way.
    so pls help me to solve this problem
    using session or another good way

    Use this instead.
    Frame.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

  • How to make "Submit" features disappear when form is distributed?

    Hi, I am very new at this. I'd like to know how to make the purple header that appears when a form has been distributed go away. This section says "Please fill out the following form. When finished, click Submit Form to return the completed form. Our company has been having problems when people submit these automatically, so we'd like to have them save them as PDFs and submit them as an attachment on an email. We don't want there to be any confusion about this, but I know that the forms have to be distributed so they can fill them out, and this purple header appears after I distribute. What do you suggest?

    You need to be a little more specific as to what is going on with the form. What is the exact issue you are having with the form when it is sent back? If your form is  designer form that is fillable then the header will always be there. It says "Please fill out the following form. If you are a form author, choose DistributeForm in the Forms menu to send it to your recipients."
    If you would like I could take a look at the form to see what you are experiencing. I have been designing forms for a major insurance company for four years and have come across many issues. In ordder to troubleshoot these issues you have to explain exactly what is happening to get at the root cause. It may something as simple as not having the submit button on the form or a little script written that saves the form as a save as.
    Not knowing the exact issue people are not going to be able to give you a fix. It is like taking your car to the mechanic and saying it doesn't work.

  • How to force an automatic query when first accessing a form?

    I have several forms on different tabs. When the first is queried, I save the key field. When the other forms start, they get the key with wwsto_api_session.load_session and store it in the form A_key.
    I want to have already performed a query when the user goes to the tab with the form on it. Can this be done? Is there a way to call doQuery from PL/SQL code?
    Gary

    Hello flöle,
    >>How can we prevent that and force the application to crash immediately when the unmanaged component fails?
    In my experience, this mechanism for wrapping the unmanaged expcetion should be by desiged since the .NET does not know these exception type. For handling unmanaged exception, the .NET provides a specific class:
    SEHException Class which is used to to handle unmanaged code exception in our managed code:
    https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.sehexception.aspx
    You could use this class to catch the unmanaged exception.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make second phase release when project released?

    Hi all,
               I'm new to cproject. My issue is second phase (does not has tasks) can not be release when project is released and however first phase which under project directly able to release. Do you have any idea on what cause this problem and how to resolve it?
        Thanks in advance.
    Best Regards,
    Chee Boon

    Hi
    This is Std system behaviour.
    Once the Project is released the No 1 Phase is released.
    For release of 2nd Phase, there can be two scenarios based on Confg of Phase type
    1. For stage gate Config: Once you complete that phase 1, you can release phase 2
    2. For w/o Stage Gate method: you can release two phases simultaniously
    Check config of PHase types
    Niranjan
    Let me know if it helps!!!

  • How to make 2nd OS 9 internal HD bootable??

    To try to make a long story short:
    1) In 2004 I bought an used G3 Beige desktop, which has 2 ATA hard drives, 1 GB and 4 GB. (I think they're IBM.)
    2) The smaller has OS 9.2; the larger had ExPostFacto 10.3 Panther. They booted separately; that Panther did not have OS 9 as an "environment".
    3) After a few months, Panther died of a kernel panic; but the OS 9 was still fine. Later I bought an used G4 Graphite with Tiger, and an OS 9.2 Classic Environment, but unsatisfactory for much of my OS 9 work.
    4) I want to keep the G3 Beige as an emergency spare, and because I do a lot of work in OS 9. However, after 30 months of trouble-free use, the 1 GB drive began to flash a question mark. Disk First Aid, and Norton Disk Doctor both said it was unfixable.
    5) If the 1 GB is dead, so be it. Therefore, I reformatted the 4 GB drive, and installed OS 9.2. Installation was successful; however, it gave me the "no boot partition found" or some such message upon restart.
    6) So I tried to fix the 1 GB using Disk Warrior, and voila, it was back in business, with the 4 GB OS 9 available and usable on its desktop. (I don't know how these 2 drives relate: I suppose the 4 GB is a "slave drive" of the ailing 1 GB? But I still can't boot from the 4 GB. I believe at the moment, upon startup, it tries to boot from the 4 GB, then defaults to the 1 GB.)
    7) That would have been OK, except that, since returning from its grave, the 1 GB has been steadily leaking hard drive space to parts unknown; about 800 MB are accounted for, and 200 MB can't be found by Sherlock. After some offloading, I had as much as 40 MB to spare; I turned off virtual memory; I emptied all the cache I could find; but if there is a crash, space goes down to a few kb, or zero. More offloading; free space for a day or two; then it's gone. (There is a "Damaged Items" folder of 1 GB left behind by Disk Warrior, but I haven't tried to delete that one yet. Nor could I optimize the drive with Disk Warrior, because it said it needed 4 megs of contiguous HD space. In fact, Disk Warrior may not even have finished its new directory, for the same reason.)
    SO: BOTTOM LINE QUESTION: How can I make the 4 GB the main bootable drive, and sidestep the 1 GB; and/or, is there anything I can do to make the 1 GB straighten up and fly right? (There is even room for a third HD in that Beige.)
    TIA.

    You said, "(I don't know how these 2 drives relate: I suppose the 4 GB is a "slave drive" of the ailing 1 GB?"
    Those two drives share the same cable. One is ID=1, which, in a holdover from earlier drives is referred to as "Slave", The other is ID=0, which is referred to as "Master". Neither drive exerts any sort of control over the other. The "Master" drive used to do the address decode for the slave, and give it the go-ahead.
    Which Drive your Mac looks to for booting is controlled by Startup Disk Control Panel. Set the startup Disk there, and you may have fewer problems.
    From the Emergency Handbook, issued with the original iMac G3"
    Re-bless the System Folder:
    If your computer is not recognizing the system software, the System Folder may need to be “re-blessed.” This helps the computer recognize which System Folder to use.
    1 Start up your computer from the softwareinstall CD. SeeChapter3, “Starting Up From a CD.”
    2 Open the "System Folder" (On the Hard Drive).
    3 Double-click the System suitcase.
    4 After the System suitcase opens, close the suitcase and System Folder windows and restart your computer.
    If this doesn’t work, then try the following:
    1 Drag the System suitcase and Finder out of the "System Folder".
    2 Close the "System Folder".
    3 Drop the System suitcase and Finder back into the closed "System Folder".

  • How to make 2nd page inherit home pg's styling?

    I have created the home page to my satisfaction and made it index.html. It includes navigation bars but no links as of yet.  How do I make the subsequent pages inherit the home page's styling without having to do each page all over again?  Thanks.

    kahill1919 wrote:
    I have created the home page to my satisfaction and made it index.html. It includes navigation bars but no links as of yet.  How do I make the subsequent pages inherit the home page's styling without having to do each page all over again?  Thanks.
    2 options:
    1) Save as template>File>Save as template.
    This will (assuming you have correctly defined your site folder at the outset) create a page template which you can use to base all your other pages on.
    To create a new page after saving your page as a template go>New>Page from Template>Select template from site folder.
    You'll probably want to create some 'editable' regions in your template so you can change the text on the new pages made from the template.
    The idea of using a template is that when you update the navigation in the main template (given it is in an uneditable region) any page based on the template containing the menu will update as well. Infact the template approach will prove useful for news sections etc which need to be consistant on each page too.
    OR
    2) You can just duplicate the page, save it with a different name, and work on that. However dont forget that if you do it that way and you have 10 pages and change a link at any stage you'll have to manually change the link on all 10 pages.

  • How To Make A Program Which When I Press A Button The Number Goes Up One?

    I have already made this:
    import java.awt.Container;
    import java.awt.LayoutManager;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    public class Lab04 extends JFrame
    private Container content;
    private LayoutManager layout;
    private JLabel number, division, modulus, space;
    private JTextField text;
    private String string;
    private ActionListener listener;
    private char char1;
    private int x, Add1, Add2;
    private JButton bAdd;
    public Lab04()
    formatWindow();
    listener = new Handler();
    bAdd = createAndAddButton("+1");
    number = createAndAddLabel("Current Number: 0");
    division = createAndAddLabel(" n DIV 4 = 0");
    space = createAndAddLabel(" ");
    modulus = createAndAddLabel(" n MOD 4 = 0");
    public void formatWindow()
    content = getContentPane();
    layout = new FlowLayout();
    content.setLayout(layout);
    private JLabel createAndAddLabel(String s)
    JLabel temp = new JLabel();
    temp.setText(s);
    content.add(temp);
    return temp;
    private JTextField createAndAddTextField(int x)
    JTextField temp = new JTextField(x);
    temp.addActionListener(listener);
    content.add(temp);
    return temp;
    private JButton createAndAddButton(String s)
    JButton temp = new JButton();
    temp.setText(s);
    temp.addActionListener(listener);
    content.add(temp);
    return temp;
    private void process()
    int x = 0;
    Add1 = x +1;
    private void output()
    number.setText("Current Number: "+x+1);
    private class Handler implements ActionListener
    public void actionPerformed(ActionEvent e)
    process();
    output();
    public static void main(String[] args)
    //create graphics window
    Lab04 window = new Lab04();
    //configure graphics window
    window.setSize(200, 150);
    window.setLocation(300, 175);
    window.setTitle("Unit 3 Lab03: Filling Out Forms");
    window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //display graphics window
    window.setVisible(true);
    And all it does is it gives me the number 01, what should I do?

    public void process{
    int x = 0;
    Add1 = x +1;
    }just what is this supposed to do? every time you call it, it create a primitive x with value 0, and then makes Add1 equal to x+1. that will be 1 no matter how many times you call it.

  • How to make the smallest increment when moving an object

    Hello all.
    I'm working in a file zoomed fully to 6400%. I've changed the Keyboard increment to the smallest it will allow to 0.0036 mm.
    I have two lines. Line 2 sits on line 1, a fraction above. When I select line 2 and press the down arrow key, it jumps so that line 2 is now a fraction below line one. I cannot get the lines to sit perfectly onto of one another.
    I have tried to move the line using the mouse, but it snaps to the same position as the keyboard press.
    I have turn off snap to grid, snap to point, all the guides, smart guides.
    Has anybody come across this problem? Any boady know how to fix this?
    Kind regards
    James

    thomo,
    You should be able to snap if you use Smart Guides (alone) and move Line 2 with the mouse/stylus.

Maybe you are looking for

  • HTMLDB_ITEM report with 'Drill Down'

    I have created a report using the HTMLDB_ITEM Package and I would like to link to a form to add more detail. I have tried to create this using the tools but it assigns the value of the hyperlink to #column heading# which is not working. Am I missing

  • Unable to Print pages08 with pictures to color printer

    I am not able to print color pages08 documents containing photographs to my HP 4650 color Laser. I am not able to figure this out. The HP 4650 Color Laser has 128 MB's Ram and never gives me a problem with 20-25MB doc's or 50-60MB color photo files.

  • Strange square box on right side of bookmarks bar

    Dear Mozilla Support The other day a strange long square box appeared on the right side of my bookmarks bar. The bookmarks bar I refer to starts on the left with the words "most Visited" "Start" etc, etc, with all my bookmark links icons displayed go

  • With the new iOS 7, how do you download photos off of FB?

    With the new iOS 7, how do you download a picture from FB to your iPhone?

  • How to run a Unix Script from a specific user

    Hi, I want to run a GoldenGate related unix script from a super user. I have created crontab enter from that super user. But its still running from root user. As GGSCI cannot be invoked other than super user, the Script is failing. The Script is runn