This discussion is archived
4 Replies Latest reply: Mar 21, 2013 7:16 AM by 942420 RSS

Exit Key Not working

942420 Newbie
Currently Being Moderated
Dear Team,

i have one item whose datatype is DATE and Applied Format Mask As DD/MM/RRRR .
When I Enter Incomplete date and Press Exit Key The Form is Not Exiting.

For Example :

I m entering a date 12/03/

exit key is not working .

in exit button i had return a code

exit_form(no_validate);

i m using Oracle FORMS 6i.

Pls suggest if any solution.

Edited by: parapr on Mar 21, 2013 4:32 AM
  • 1. Re: Exit Key Not working
    HamidHelal Guru
    Currently Being Moderated
    parapr wrote:
    Dear Team,

    i have one item whose datatype is DATE and Applied Format Mask As DD/MM/RRRR .
    When I Enter Incomplete date and Press Exit Key The Form is Not Exiting.

    For Example :

    I m entering a date 12/03/

    exit key is not working .

    in exit button i had return a code

    exit_form(no_validate);

    i m using Oracle FORMS 6i.

    Pls suggest if any solution.

    Edited by: parapr on Mar 21, 2013 4:32 AM
    Try this
    go_block ('block_name');
    Clear_Block(No_Validate); 
    exit_form;
    hope this helps

    Hamid

    Mark correct/helpful to help others to get right answer(s).*
  • 2. Re: Exit Key Not working
    942420 Newbie
    Currently Being Moderated
    still it is getting error

    and giving system generated message as Date must be entered in a format like DD/MM/RRRR
  • 3. Re: Exit Key Not working
    GregorM Explorer
    Currently Being Moderated
    Hi.

    Where is your exit_form(no_validate) code? Is it on push button's when-button-pressed trigger. If so try to set the property of button's "Mouse Navigable" and "Keyboard Navigable" value to No. That way the validation of date field should not happen.

    Best regards.
  • 4. Re: Exit Key Not working
    942420 Newbie
    Currently Being Moderated
    thank yupu very much as i m facing this problem from last day

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points