Porblem in query find Window Forms 6i

Hi All,
i have a issue in query find window .i have two fields (from date,to_date) when user enters the froms date that date will be defaulted to to_date. if user wants to change the to_date it is chaging the from date also .( it should chage only to_date fied )
i am using synchronize with item property of the To_date field to the from_date
can any one help to over come this issue.
thanks in advance
kanth

Instead of using the property 'synchronize with item' you can use this code in the when-validate-item trigger of the from date item:
IF :block_name.to_date IS NULL AND :block_name.from_date IS NOT NULL THEN
      :block_name.to_date := :block_name.from_date;
END IF;

Similar Messages

  • Urgent help needed in Query Find Window

    Gurus
    In my custom form i have a Query Find Window with three fields. The requirement is when user selects a value ( LOV) from any of the fields the other fields in the Query Find Window should get the relative value. I can acheive this only if i set the AUTOMATIC DISPLAY to yes for the fields. User identified this & they asked me to do this without setting the AUTOMATIC DISPLAY to yes.
    I referred someother CUSTOM forms & i did tried but i am unable to achieve this one. Please guide me.
    Thanks.

    In the key-list val trigger itself, you can populate the required information into those fields.
    If i am wrong then the requirement is not so clear.
    Regards
    Balaji

  • Suppressing Query Find window

    When we are calling a standard form(Purchase Order Summary form) from a custom form by passing PO number, how to suppress query find window and navigating directly into results window of standard form?

    Actual Requirement is we are calling standard purchase order summary form from a custom form.In custom form we enter sales order number then we click find button.then PO summary form has to be opened and with corresponding PO details.
    The problem i am facing is when i click on find button in custom form it is showing up query find window of PO summary form.
    So how to suppress query find window and navigate directly into standard PO summary form.
    And do not want to customize standard PO summary form(Called form).

  • QUERY FIND WINDOW

    Hi Experts,
    I am working on forms 6i.
    I have datablock on 'EMP' table. I have query window with 'EMPNO' to query. It's working fine.
    Requirement: When I click FIND button, i need get the data from other table of same EMP table structure and populate it in EMP block.
    Could somebody help me how it get it. Where to write code?
    It's very urgent requirement.
    Kindly help.
    Thanks in advance.

    Is the EMP-block readonly? Or is it updateable? If updateable, what should happen when the block is based on that "other" table.
    My approach would be
    Create a db-view based on table emp and do a union all with all records from the "other" table. Then in forms, base your block on that view. If you need to do differemt actions depending on from which table a record comes from, add a pseudo-column to the view.

  • Error in query find window

    Hi All,
    I am using oracle apps r12 and forms 10g.
    I was trying to develop a query_find form and i have followed this link for reference,
    http://erpschools.com/articles/query_find-form-in-oracle-apps
    After doing all the steps when i click NEW button my my Main Datablock is opening for entering new records, When entered existing po_number and click FIND Button i getting error like
    FRM-41003 This function cannot be performed here.
    Can any one pls correct what i went wrong.
    Thanks & Regards
    Srikkanth

    Please see if (Basing a Block on a Stored Procedure - Sample Code [ID 66887.1]) helps.
    Thanks,
    Hussein

  • How to Implement KFF Range (Low and High) in query find form in oracle apps

    Hi,
    Please provide some sample script for using KFF range LOV (Low and High) in one of the query find form in Oracle apps R12.
    I need to customize one of the standard form and add this range functionality for that search form.
    Thanks,
    Prasanna

    Yuvaraaj,
    Your request is unique to the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • Identity User( Find Current Logged in User) Windows Forms

    I have implemented dummy code for logging in to a windows Forms Application using Identity (Owin Auth). part of my code is as follows:
    private bool validateuser()
    bool isAuthorised = false;
    Login1 log = new Login1();
    if (DialogResult.OK == log.ShowDialog())
    Splasher.Show(typeof(frmSplash));
    userC = log.usernameTextBox.Text;
    PassC = log.passwordTextBox.Text;
    if (userC == "" || PassC == "")
    count++;
    //isAuthorised = false;
    if (count > 0) log.LoginStatus.Text = "Empty passwords or usernames are not allowed. please try again";
    if (count == 2) MessageBox.Show("You have one try remaining");
    if (count == 3) { MessageBox.Show("You have exosted your tries application will now close"); Application.Exit(); }
    validateuser();
    else
    var userStore = new UserStore<IdentityUser>();
    var userManager = new UserManager<IdentityUser>(userStore);
    var user = userManager.Find(userC, PassC);
    if (user != null)
    var userIdentity = userManager.CreateIdentity(user, DefaultAuthenticationTypes.ApplicationCookie);
    isAuthorised = userIdentity.IsAuthenticated;
    userIdentity.AddClaim(new Claim("FullName", user.UserName));
    userIdentity.AddClaim(new Claim("User_Id", user.Id));
    return isAuthorised;
    else
    count++;
    //Application.Exit();
    if (count > 0) log.LoginStatus.Text = "You may have entered a wrong password or username. Please try again";
    if (count == 2) MessageBox.Show("You have one try remaining");
    if (count == 3) { MessageBox.Show("You have exosted your tries, application will now close"); Application.Exit(); }
    validateuser();
    count = 0;
    return isAuthorised;
    When the code works fine and is able to authenticate from the database. In the current form, I'm able to get the current user by using user.UserName or id by using user.Id
    How do I get to retrieve the name or Id of the current logged in user from another form. Please Help
    Thanks
    My ASP

    Type in c.Type is giving an error. could I be missing any important reference?
    My ASP
    Hi,
    Looks from Aram's code, I found a blog from Leandro Boffi.
    http://leandrob.com/2012/02/claims-identity-c-4-0-dynamics/
    Some similar code like Aram's. You should install
    Windows Identity Foundation and the companion
    WIF SDK
    Best regards,
    Kristin
    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.

  • Query find form - customized search on a date field

    Hi All,
    I have a form which has query find behaviour enabled. When the user press on the search(torch light button) The query find form gets opened in a new canvas.
    I have a date field on the query find form. The current functionality is that
    "The form searches for the exact match on the date" but I want to have the results which satisfy <= "entered date".
    How do I achieve it in Query find form.
    Do I need to have the where condition appended in the Pre-Query on the results data block.
    Please help me with an example. Thank you.
    Srinivasa Mouli
    Edited by: 889427 on 4 Oct, 2011 11:43 AM

    Short of adding your own query extensions, you must pass in a Date
    parameter vs some stringified version.
    Paresh wrote:
    I want to query on a date field as follows
    "createDate < '2003-08-20 12:00:00:000' "
    createDate has DataType java.util.Date
    When I try to execute this query it throws UserException.
    If I use a parameter in the query string and pass a date object to execute
    method then it works fine.
    I just want to make sure that there in no way I can make the first
    approach work
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Query in Find User Form

    Find User Form throws a query and return "result" attribute with user's list. Where's this Query?

    Yes, I'd really love to know this too.
    Anybody have an idea where this Query can be found?
    Thanks

  • Issue with implementing Find window

    Hi,
    I am facing an issue with implementing Find window. The find window everything is working fine, but when I am opening the form I am facing the following error
    'Error: To retrieve the Information in this block, use menu option view -> query by example -> Enter to invoke enter-query mode, then view -> Query by example > Run to run your query..'
    when I click 'Ok', it is navigating to the FInd window.
    How can I avoid the above error message?
    And also after searching, I navigate to the main window to display the records, but the 'Find' torch icon is not getting enabled, how do I that?
    Thanks,
    Ramu

    Thanks for the reply.
    Yes, I have the QUERY_FIND trigger with the code as 'APP_STANDARD.EVENT('QUERY_FIND');'
    And also 'first navigation data block ' to my result block. Now that the error is gone, But still the Find Icon is not enabled
    Please advice.
    Thanks,
    Ramu
    Edited by: Ramu Chennuri on Oct 21, 2008 8:32 AM

  • FIND WINDOW

    I have used the HeadStart Utilities - Create Find Windows on my module, which has only one module component (MCO). This MCO is query only.
    I run the Create Find Windows utility and get the following error:
    "CDA-01151: Bound Item (Module Unit 1920360231651748348857850493587257514, Name PAYABLE_ID): Cannot set UPDATE_FLAG - the Column is in a non-updateable Constraint"
    How do I correct this error?
    I have also attempted to create the Find Window manually as per the HeadStart documentation (Chapter 14). I get a different runtime error. When the forms run on its own, the Find Window shows up (i.e. cursor is in the block). However, when I call this form from my main form through the menu, I get the following:
    >>>>>>
    Operating System: Windows NT Version 4.0 Build 1381 Service Pack 6
    Command line: "P:\OraDEV6i\BIN\ifrun60.EXE" d:\des_wd\Frm\mg000fq.fmx yeungmi/yeungmi@development
    FORM/BLOCK/FIELD: MG120FU:QF_MG_PAYABLES.PROG_PROGRAM_ID
    Last Trigger: WHEN-WINDOW-ACTIVATED - (Successfully Completed)
    Msg: <NULL>
    Last Builtin: NAME_IN - (Successfully Completed)
    Registers:
    EAX:121420F0
    EBX:0013A4D0
    ECX:00224038
    EDX:004D2F20
    ESI:0013BB8E
    EDI:830104C2
    CS:EIP:001B:64C8D75F
    SS:ESP:0023:0012E520 EBP:0012E52C
    DS:0023 ES:0023 FS:003B GS:0000
    Flags:00010293
    ------------------- Call Stack Trace ---------------------
    Frameptr RetAddr Param#1 Param#2 Param#3 Param#4 Function Name
    0x0012e52c 64cb0c4b 0013a4d0 0013bc22 039da030 00000001 0x64c8d75f
    0x0012e570 64ccc527 004d2f20 03be42ac 032bf44c 00000060 0x64cb0c4b
    0x0012e5d0 64ccc4d5 03acf138 039d1ec8 03acf138 039d24c8 0x64ccc527
    0x0012e5fc 0032325e 004d2f20 039d1ec8 03acf138 039d24c8 0x64ccc4d5
    0x0012e660 002fc240 032bf44c 039d1ec8 03acf138 039d24c8 0x0032325e
    0x0012e86c 002e745f 032bf44c 039da370 0012e9d8 0012eaac 0x002fc240
    0x0012e948 002eb62b 032bf44c 039dad30 0012e9d8 0012eaac 0x002e745f
    0x0012e9e8 002eb62b 032bf44c 03b5c650 0012ea78 0012eaac 0x002eb62b
    0x0012ea88 5df8b831 032bf44c 03b64328 0012eac8 0012eaac 0x002eb62b
    0x0012eaf0 5df84cdb 032bd898 045b7784 03be42ac 00000000 0x5df8b831
    0x0012ed74 64c999ff 004d2f20 03be42ac 041832c8 64c97e01 0x5df84cdb
    0x0012eea8 64c999b2 004d2f20 03bc3adc 03bfa064 03be42ac 0x64c999ff
    0x0012eecc 64c993ee 004d2f20 03be42ac 03bc3adc 004d2f20 0x64c999b2
    0x0012f088 64c9a69a 004d2f20 00000001 00000000 77e7198f 0x64c993ee
    0x0012f160 64d0696e 004d2f20 00000001 00000001 032bd898 0x64c9a69a
    0x0012f188 5def4c18 032bd898 032bd898 00000000 00000000 0x64d0696e
    0x0012f1a4 5df31652 004d2f20 00000000 032bd898 039da930 0x5def4c18
    0x0012f1d8 5df19c5b 032bd898 03acad58 039da930 032bd898 0x5df31652
    0x0012f1fc 5def6a26 032bd898 032bd898 032bd898 03acad58 0x5df19c5b
    0x0012f520 5def5bd2 03acad58 00000000 045c2230 032bd898 0x5def6a26
    0x0012f890 5df1b5bf 032bd898 00000001 03acad58 032bd898 0x5def5bd2
    0x0012f8e0 5df19fe5 03b60874 00000001 03acad58 032bd898 0x5df1b5bf
    0x0012f978 5df19e90 045c1b18 045c1b18 032bd898 03acad58 0x5df19fe5
    0x0012f99c 5df1d85e 045c2230 00000000 045c1b18 032bd898 0x5df19e90
    0x0012f9dc 5df1cfef 045c1b18 039ccfbc 039ccfbc 032bd898 0x5df1d85e
    0x0012fa0c 5df1c99d 03acad58 039ccfbc 0418a5bc 032bd898 0x5df1cfef
    0x0012fa34 5df1bbea 03acad58 0418a5bc 00000000 032bd898 0x5df1c99d
    0x0012fa84 5def9ff3 00000000 032c3318 0012fabc 00000000 0x5df1bbea
    0x0012faf0 5def9a46 0362f6c8 032b4bfc 00000000 00000001 0x5def9ff3
    0x0012fc0c 5def2c03 00000000 032c1940 00000019 032b49bc 0x5def9a46
    0x0012fd68 5def19e9 00000014 00000000 00000003 01a409e0 0x5def2c03
    0x0012fd8c 5def18be 01a31fc8 00000000 00000000 00000003 0x5def19e9
    0x0012fdac 10008963 01a31fc8 00000000 00000000 00000003 0x5def18be
    0x0012fdfc 1000a3a1 01a32fe4 00403010 00000000 00000003 0x10008963
    ------------------- End of Stack Trace -------------------
    <<<<<<<<<
    Can someone please tell me how to get my find window for this module?
    Thanks.
    null

    Installed a patch for this.

  • How to get windows form object of a MMC snapin node using MMC automation object model

    Hello,
    I am using automation object model for an existing mmc file and just trying to traverse all nodes of it. And i am able to do so.
    My query is : how can i get the access of windows form object of a particular node . Windows form is present in result pane of a node, i want to get access of that so that i can perform some automation on that form.
    http://msdn.microsoft.com/en-us/library/aa815049(v=vs.85).aspx
    I found that if OCX control is in result view of any node, then "view object -> control object property" returns
    the automation interface supplied by the control in the result view. 
    However, if result view is HTML view then how to get the automation interface of that result
    view.
    Thanks in advance,
    Sumit

    Hi Sumit,
    I read the link you provide above. It seems that when you want to achieve your target by using MMC automation
    object model, you need to use codes. Based on the programming language, if use VB, I suggest you post the question in
    VB Forum. If you want to use C#, may post in
    C# Forum.
    In addition, there is an answered question, may help you to find the correct forum.
    MMC development forum?
    http://social.microsoft.com/Forums/en-US/3796a8e9-674e-4da0-a40e-4e4b69575c8e/mmc-development-forum?forum=whatforum
    Since, it’s more related to development. We may can’t provide some more detailed information. Thanks for your
    understanding.
    Hope this helps.
    Best regards,
    Justin Gu

  • Develop query_find encountering 'FRM-41052:  cannot find window: invalid ID

    hi,dear all.
    I 'm using forms 6i to develop query_find function.
    I have Written the query_find trigger on the datablock as follows:
    app_find.query_find('W_MAIN', --'Window name of Data Block'
    'W_QF', --'Window Name of Query Find Block'
    'B_QF'); --'Query Find Block Name'
    but when I click the torch , the query_find window come out after three times of showing of the error message 'FRM-41052: cannot find window: invalid ID'. So every time I have to click three times 'OK' to close the annoying message.
    Can anybody give me some guides how to realise query_find?? how to avoid this error message??
    thanks in advance!

    set_window_property('MAIN_WINDOW', TITLE, 'PACKAGE DETAILS');
    Make sure that you have a window named 'MAIN_WINDOW';
    YES, I do have.
    form_setup_pkg.event('WHEN-NEW-FORM-INSTANCE');
    IF :PARAMETER.P_PACKING_ID is NOT NULL THEN
    EXECUTE_QUERY;
    END IF;
    Which is the code of this package?
    PACKAGE BODY FORM_SETUP_PKG IS
    PROCEDURE EVENT ( i_event IN VARCHAR2 )
    IS
    BEGIN
         Modify this package body to add events during form startup
         and to modify the window name and window title
         IF i_event = 'PRE-FORM' THEN
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE,MAXIMIZE);
    SET_WINDOW_PROPERTY('BLOCKNAME',WINDOW_STATE,MAXIMIZE);
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, TITLE, 'GEMS');
    set_window_property('BLOCKNAME', TITLE, 'Template Form');
         ELSIF i_event = 'WHEN-NEW-FORM-INSTANCE' THEN
              null;
         ELSE
              null;
         END IF;
    END EVENT;
    END;
    SELECT ORDER_NUMBER,CLIENT,QUANTITY,PACKING_ID,LETTER_ORDER_CODE,
    ACTUAL_CARRIER,LETTER_ORDER_NUMBER,ACTUAL_SHIPMENT_TYPE,WEIGHT,PACKAGE_NUMBER FROM PACKING WHERE CLIENT = :1
    Where you set field client?
    This is my code I am not selecting client anywhere, I dont know from where "Display error" is fecthing client query.
    Thanks a lot for your help.
    PACKAGE BODY ORDERS IS
    PROCEDURE post_query IS
    BEGIN
    SELECT     pa.ship_to_last_name,
         pa.ship_to_first_name,
         pa.ship_to_address1,
    pa.letter_order_number,
         pa.letter_order_code,
    INTO :ORDERS.SHIP_TO_LAST_NAME,
    :ORDERS.SHIP_TO_FIRST_NAME,
    :ORDERS.SHIP_TO_ADDRESS1,
    :ORDERS.LETTER_ORDER_NUMBER,
    :ORDERS.LETTER_ORDER_CODE,
         :ORDERS.DC
    FROM packing_attr pa
    WHERE pa.packing_id = :ORDERS.PACKING_ID;
    end post_query;          
    END orders;
    Thanks
    Sandy

  • Query Find Enabled

    Hi,
    I have enabled Find window for my Custom form. Successfully in can able
    to query the records. But, i am facing a strange issue.
    Query window is opening only once. Means, I can able to query data using
    Find window only once. After clicking the FIND button, data is populated
    in the result block. But, Now the Tourch/Query Icon in the toolbar is
    getting disabled.
    Regards/Prasanth

    Hi Prasanth,
    I am not sure if you have got solution but you can try this. You should set the Trigger Execution Hierarchy for W-N-R-I trigger to 'Before' on the block for which torch is getting disabled.And it should work.
    You can use APP_STANDARD.synchronize but I guess thats a hack and moreover F11 functionality wont work.
    Thanks
    Arun
    Do it the right way..

  • SharePoint People picker control in Windows form

    Hi All,
    I have a requirement wherein, I have to create an outlook add in to save data into sharepoint list. I have created a sample outlook add in to save the data into sharepoint list (all columns are of text) using windows form and it works fine. However there
    is one field in form which requires people values to be picked from AD and saved to sharepoint list.
    I have browsed the net but could not find any useful information. Is it possible to use OOB people picker in windows form? If not what are the other ways to achieve people picker functionality in windows form.
    Thanks in advance.
    Regards,
    Vinayak

    Hi,
    The
    PeoplePicker control is part of the Microsoft.SharePoint.dll, it will only work on SharePoint hosted pages. 
    Here is a link about how to use PeoplePicker control:
    http://karinebosch.wordpress.com/sharepoint-controls/peopleeditor-control/
    Anyway, you can fetch Active Directly users as the link below:
    http://www.codeproject.com/Tips/599697/Get-list-of-Active-Directory-users-in-Csharp
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • When I put in my Apple ID it says it can't verify my computer or device?

    I want to download Lion on my Macbook Air. When I put in my Apple ID to get into the App Store it says it can't verify my device or computer. My account seems okay and up to date and I've had this computer for awhile. What can I do?

  • Getting error while doing AIBU

    Hi All, Getting error while running AIBU that critical number reached 99801,for group asset IN65PLANT. Please do the needful for the issue.

  • Differences between  Oracle Discoverer 10g and 11g (EBS & Desktop)

    We are in the process of upgrading from Oracle Discoverer 10g testing to Oracle Discoverer 11g. We have had several requests (from functional users) for documentation that might reflect the changes in this release level. Does anyone have relevant doc

  • Creating java mappings

    Hi Experts, Is there any tool available for creating java mappings in XI given a source and target message. I have seen for XSLT mappings there is a tool called stylus studio, which has some kind of graphical tool to create the XSLT mapping between a

  • How can I put a number like m.dddddd+Exx

    I don't know how can I put a number like m.dddddd+Exx or m.ddddddE-xx using DecimalFormat or NumberFormat