Calender to be called in Forms

Hi ,
I am new to this forum and new to Oracle forms i have many doubts to be cleared
My very first Query is to know what are the steps to be done to invoke the calender to a form
my Second one as follows
when i select a date from the calender it should automatically generate the age and the condition in generating the age is
if the age is 21 and 5 months it should display as 21
then
if the age is 21 and 6 months it should display as 22
plz do solve this and revet back

et me describe you the ful concept
My project has a field caled "Date of Birth" and a Field named "Age"
When the date is selected from "Calender" which is invoked in the "Date of Bith " Field , Automatically the age field should be updated with the age.
the Condition is that the age should not be less than 5 and greater than 35 and
consider the age of the user to be 22 and 5 months
when the user selects his date of birth , the age field should display as 22
and
if the users age is 22 and 6 months , the age field should be updated as 23
The Trigger i am trying is with "When - Validate - Trigger"

Similar Messages

  • Error while calling a form from another form's menu item

    I created a main form and menu module for this form.
    I am calling another form from main form menu item.
    i moved both the forms and menu and compiled them.
    But, when i run this form i am getting an error saying
    FRM 92100: Your connection to the server was interrupted
    This may be the result of a network error, or a failure on the server.
    You will need to establish your session.
    I set the seperateframe = true
    networkentries = 30
    But still getting the same error.
    Is there any parameter that i am missing.
    I will greatly appreciate if anybody can direct me to the solution.
    Thank you.
    Navya.

    Hi guest,
    the data definition is:
    DATA: XVBKD LIKE VBKDVB OCCURS 0 WITH HEADER LINE.
    the assignment:
    XVBKD-PRSDT = likp-erdat.
    Thanks,
    Hagit

  • Urgent: is threre any term called "quick forms" in ABAP

    hello experts,
                       Is there any term called "quick forms" in ABAP. if yes please give me details regarding it.
    its very urgent.
                                                                    thnaks in advance,

    Don't think there is anything by that name in abap namespace. Have heard of Interactive forms, smartforms, and abap quickviewer
    http://www.sap-basis-abap.com/sapqu004.htm

  • Returning multiple values from a called tabular form(performance issue)

    I hope someone can help with this.
    I have a form that calls another form to display a multiple column tabular list of values(needs to allow for user sorting so could not use a LOV).
    The user selects one or more records from the list by using check boxes. In order to detect the records selected I loop through the block looking for boxes checked off and return those records to the calling form via a PL/SQL table.
    The form displaying the tabular list loads quickly(about 5000 records in the base table). However when I select one or more values from the table and return back to the calling form, it takes a while(about 3-4 minutes) to return to the called form with the selected values.
    I guess it is going through the block(all 5000 records) looking for boxes checked off and that is what is causing the noticeable pause.
    Is this normal given the data volumes I have or are there any other perhaps better techniques or tricks I could use to improve performance. I am using Forms6i.
    Sorry for being so long-winded and thanks in advance for any help.

    Try writing to your PL/SQL table when the user selects (or remove when deselect) by usuing a when-checkbox-changed trigger. This will eliminate the need for you top loop through a block with 5000 records and should improve your performance.
    I am not aware of any performance issues with PL/SQL tables in forms, but if you still have slow performance try using a shared record-group instead. I have used these in the past for exactly the same thing and had no performance problems.
    Hope this helps,
    Candace Stover
    Forms Product Management

  • How to call a form from one form to another form with parameter..

    i'm having a from that will shows the info about the orders that the client has. and i want to show the information of the client. for that i have created one form and i want to call the form from my current form with the given client name as a parameter. then the client_info form has to query with the given parameter. so im passing the :client_order_info.client_name as parameter to the call_form('client_info.fmx',:client_order_info.client_name); but my question is how to access that parameter in the client_info form.. plz help me.. i tried a lot ..

    Create a parameter (object navigator -> parameters) with the name client_name and you can access that value in your client info form using :PARAMETER.client_name.
    P.S. while calling you can pass parameter using 'cilent_name =>' to make sure that the correct parameter is getting assigned to the value.

  • How to call a form in report

    How can i call a form in a report?

    try this
    declare
       AppID PLS_INTEGER;
    begin
         AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
    exception when others then
          srw.message(1,'Errror');
    end;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to call a form on 9i from a jsp?

    Hi
    I have a form running on forms 9i server.
    I want to call this form from a jsp page . I have developer suite 9i installed on my system. LEt me know how this can be done .
    thanks
    sirisha

    Hi ,
    I think yes...but under some circumstances....
    In your formsweb.cfg file you should define a named configuration alias... such as:
    [TEST]
    workingDirectory=C:\TEST_DIR
    form=C:\TEST_DIR\MY_NEWFORM.FMX
    Then , after stopping , starting your OC4J instance..... you call that as (in a button , for example):
    web.show_document('http:<your_server>:<port>/forms/frmservlet?config=[TEST]',_blank);
    I have not tested it.....
    Regards,
    Simon

  • How to call a form from report? in 6i

    How to call a Form from Report? In Developer 6i of oracle. Plz tell me tex.

    try this
    declare
       AppID PLS_INTEGER;
    begin
         AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
    exception when others then
          srw.message(1,'Errror');
    end;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • 4.5 to 6i migration or report calling from forms in XE???

    Hi Friends,
    I really appreciate your helping tendency. Let me explain the whole scenario.
    My application basically consists of
    Forms [32 Bit] Version 5.0.6.8.0 (Production)
    Report Builder 3.0.5.8.0
    Oracle Enterprise Edition Release 9.2.0.1.0 - Production
    Now we migrated our database into Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production. After the migration all the existing forms and report individually were running without any problem. But there was a huge problem. Whenever I tried to call any report from any form the report engine appeared and then stopped responding. So report calling from forms was not possible after the database migration. I was suggested by someone from OTN forum to migrate my forms and reports into 6i. I have started doing the migration using ifcmp60. WIth forms 6i, reports can be called from forms. But I am facing problem in every other steps. There are many things are not working after the migration though the migration log shows no error. For example, COMMIT_FORM, EXECUTE_QUERY (for detail table), LOV, TOOL.GETVAR lots of things are not working.
    My application has 200 forms and 250 reports.
    Please help and advise on:
    How to call reports from form when the database is XE Or
    How to overcome the stated migration problem
    Rgds,
    Luther

    Dear Mark:
    I have two choices. I can either migrate to 6i or I can go with the existing 4.5. If I go with 4.5 ......the reports are not being called from forms. This problem is happening after I changed the database from 9i to XE. Please advise what to do so that I can keep my forms in 4.5, database in XE and can call reports from forms.
    Rgds,
    Luther

  • Calling a Form

    Hi,
    I want to Call a form from my menu. I remember that in FORMS 6i, you could use "Call Form", "Open Form" and "New Form".
    Is there any equivalent in FORMS 10g, or is there another way to do this ?
    Cheers,
    Marc.

    Use the same built-ins... they are the same.
    the least you could do is check the online help of your forms builder or search the Forum.
    Tony

  • Calling a form on HTree Node Click

    i need a help on calling a form on HTree Node Click.
    the details as follows
    ### THIS IS MY TABLE ###
    SQL> DESC MENU_OPTION
    Name Null? Type
    NAME_CODE NOT NULL VARCHAR2(20)
    OPTION_NAME NOT NULL VARCHAR2(50)
    LINK_NAME_CODE NOT NULL VARCHAR2(20)
    MAIN_OPTION VARCHAR2(20)
    DATAID NOT NULL NUMBER
    FORM_NAME VARCHAR2(50)
    ### THIS IS MY TREE ###
    DECLARE
    htree ITEM;
    v_ignore NUMBER;
    rg_emps RECORDGROUP;
    BEGIN
    htree := Find_Item('tree_block.htree4');
    rg_emps := Find_Group('emps');
    IF NOT Id_Null(rg_emps) THEN
    DELETE_GROUP(rg_emps);
    END IF;
    rg_emps := Create_Group_From_Query('rg_emps',
    'select -1, level, OPTION_NAME, NULL, to_char(NAME_CODE) ' ||
    'from MENU_OPTION '||'connect by prior NAME_CODE = LINK_NAME_CODE '||
    'start with MAIN_OPTION = ''TOP_MENU''');
    v_ignore := Populate_Group(rg_emps);
    Ftree.Set_Tree_Property(htree, Ftree.RECORD_GROUP, rg_emps);
    END;
    ### WHAT I WANT IS ####
    The Tree is working fine
    when i click on the node i want to call_form where
    FORM_NAME matches with the OPTION_NAME
    I Tried below code.. but i don't know how to call_form
    WHEN-TREE-NODE-ACTIVATED
    Declare
    LN$I Pls_integer ;
    LC$Node Varchar2(60);
    Begin     
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
         LC$Node := FTREE.GET_TREE_NODE_PROPERTY('TREE_BLOCK.HTREE4', :SYSTEM.TRIGGER_NODE, FTREE.NODE_VALUE);
    -- how to call the form????? .....
    End if ;
    End;
    Anyone can help

    Dear Sis,
    I'm posting the code again
    ### THIS IS MY TABLE ###
    SQL> DESC MENU_OPTION
    Name Null? Type
    NAME_CODE        NOT NULL VARCHAR2(20)
    OPTION_NAME      NOT NULL VARCHAR2(50)
    LINK_NAME_CODE   NOT NULL VARCHAR2(20)
    MAIN_OPTION               VARCHAR2(20)
    DATAID           NOT NULL NUMBER
    FORM_NAME                 VARCHAR2(50)### THIS IS MY TREE ###
    DECLARE
    htree ITEM;
    v_ignore NUMBER;
    rg_emps RECORDGROUP;
    BEGIN
    htree := Find_Item('tree_block.htree4');
    rg_emps := Find_Group('emps');
    IF NOT Id_Null(rg_emps) THEN
    DELETE_GROUP(rg_emps);
    END IF;
    rg_emps := Create_Group_From_Query('rg_emps',
    'select -1, level, OPTION_NAME, NULL, to_char(NAME_CODE) ' ||
    'from MENU_OPTION '||'connect by prior NAME_CODE = LINK_NAME_CODE '||
    'start with MAIN_OPTION = ''TOP_MENU''');
    v_ignore := Populate_Group(rg_emps);
    Ftree.Set_Tree_Property(htree, Ftree.RECORD_GROUP, rg_emps);
    END;### WHAT I WANT IS ####
    The Tree is working fine
    when i click on the node i want to call_form where
    FORM_NAME matches with the OPTION_NAME
    I Tried below code.. but i don't know how to call_form
    WHEN-TREE-NODE-ACTIVATED
    Declare
    LN$I Pls_integer ;
    LC$Node Varchar2(60);
    Begin
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
    LC$Node := FTREE.GET_TREE_NODE_PROPERTY('TREE_BLOCK.HTREE4', :SYSTEM.TRIGGER_NODE, FTREE.NODE_VALUE);
    -- how to call the form????? .....
    End if ;
    End;

  • Calling a form in Update form

    Hi,
    I'am calling a form from another form but passing one of the parameters to the second form. The second form is only showing the query and reset button, no matter what i do it's not showing the update button. can anyone help me.
    i wrote thIS code in the second form before displaying the form
    p_session.set_value(p_block_name => 'DEFAULT',p_attibute_name => '_FORM_STATE',p_value => 'UPDATE_AND_DELETE');
    but it's giving me an error saying , wrong number of parameters.
    Can anyone help.
    Thanks.

    Hi,
    You should call the form in the query mode. Here is a sample which will call the form for a deptno 10.
    portalschema.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1280222922&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values=10&p_arg_names=_deptno_cond&p_arg_values=%3D
    The deptnocond is required for the form in query mode. If you want to query for empno and not deptno then it should be empnocond
    Thanks,
    Sharmila

  • Error within Workflow calling a form

    Hey,
    I have made a workflow with a form getting some values, transmited to a WF attribute, then i call another form which use this value.
    First i used a subprocess to call the form and i had this error:
    "com.waveset.util.WavesetException: Suspended case with no WorkItems!"
    Then i put the Call form activity in the original workflow and i still have the error while another form call in the same workflow works great.
    Do someone know about this error?
    Thanks,
    Adrien

    Check the transition logic in all the activities to make sure there are no infinite loops. You'd see this error messages if there are any infinite loops. Your subprocess may not be getting the variables used for transition. If you are referencing any WF variables inside the SP, declare them as external or pass them.

  • Calling infobus form from another.

    Hi
    Here is a brief description of the problem.
    A simple data form is created using JDeveloper2.0's wizard. It is an Infobus based dataframe,which has a simple gridcontrol fetching data from the dept table. This form is in the pacakge,
    package1.
    Another form is made with a master detail relationship between dept and employee table, in the package, package2.
    Now a button control is added on the first form( which is in package1) and the following code is added to the actionperformed event.
    void buttonControl1_actionPerformed(ActionEvent e) {
    Frame f = new package2.Frame1();
    f.show();
    Essentially, it calls the form in package2 when the button is pressed. Once this action is performed, the login dialog box of the form in package2 appears. After which it throws the following error and shows a blank form.
    DAC-405: SessionInfo: Application module creation failed; className: ConnectionTrade
    JBO-00200: A Generic exception occurred during loading Customizations.
    null
    If I add a button in the second form, (ie. the one in pacage2 having a master detail relationship) and call dept form (in package1) from here, it works.
    We are stuck with this problem, and unable to proceed with deploying the application. As each form need to be called and invoked from a menu.
    Thanks in advance.
    Ravi

    Hi,
    You can do like this :
    mainApplication(Menu)
    +------------ Frame1
    |
    +------------ Frame2
    In MainApp you call your frame, and remove from code the
    windowListener of the frame. Replace the dispose(); in frame
    methods fileExit(ActionEvent e) & processWindowEvent(WindowEvent
    e), by try { finalize(); } catch (java.lang.Throwable ex) {
    ex.getMessage(); }
    It works great.
    Bart
    Gopal (guest) wrote:
    : Hi,
    : I am calling an infobus form from another one. Once I close the
    : called form, I want the control to go back to the calling one.
    : I tried dispose in the called form. It doesnot work. (Gives a
    : null pointer exception and crashes everything). Both the frames
    : are extended from infoframe. What is the right way to do this?
    : Thanx,
    : --Gopal
    null

  • Calling a form from the main form

    Hello,
    As you can see here , i want to open a form, when i click on a subitem of ELEVI menu. so i did that, but that form is shown in the back of the main form.. i wanna that form being shown as a child form of the main form, or something like that..
    also, i cannot close the second form, why?
    the code for opening that form when clicking a submenu item is:
    begin
         call_form('elevi', no_hide, no_replace, query_only);
    end;Greets,

    well, the menu for the called form does not exist, so i don't have any menu on this second form, just buttons. the code for calling the form when clicking the submenu item, is:
    begin
         call_form('elevi',no_hide, no_replace, query_only);
    end;but i still can open multiple times.. why? can u be please more explicitly on how to do this?
    edit:
    it worked like this: (didn't know if it's a good solution, but it works)
    begin
         if id_null(find_form('elevi')) then
         call_form('elevi',no_hide, no_replace, query_only);
         else go_form('elevi');
         end if;
         end;Thanks for replies :)
    Edited by: Roger22 on 15.03.2009 10:41

Maybe you are looking for

  • What are the programming language used in adobe livecycle development?

    hi friends,                 I am a fresher.I woundered what adobe has done in livecycle import option.so i want to know wht is the programming language used and how they read graphical fields like line,circle.

  • Why i cant have new verision of Intel driver?

    Hi i am not very well with English,so i will be quick... I would like to update my driver to newer one ...and when i try to instal your 15.17.12.2226 Intel mobile graphic driver for Intel HD graphic( i3 350M) from intel download page it shows me this

  • Barcode Label Printing

    Dear Experts, is it possible to print barcodes on labels using the SAPSprint service ? The labels are defined as Sapscripts and Smartforms. Thanks a lot for any help. Regards, Marc Edited by: Marc Reinhardt on Jan 6, 2009 2:53 PM One more remark: Is

  • Information broadcaster setting with 2 variants

    Hi Experts, I have a workbook to broadcast, there are two different queries in this workbook and they have the same variables. I am creating IB settings with this workbook, but precalculation failed to send it out. I believe the problem is with varia

  • Select cost center for physical inventory difference posting

    Hello, While posting physical inventory differences (transactions MI07 or MI10) the choice of cost center is not offered. A default cost center is used by the system. Is there a way to choose the cost center for inventory difference postings? This is