How to Intercept keys in forms

I need to intercept some keys in forms, but i could't find a way
to do that, there's a way to do like C or pascal
CHR(13), par example
null

Rafael Moreno (guest) wrote:
: I need to intercept some keys in forms, but i could't find a
way
: to do that, there's a way to do like C or pascal
: CHR(13), par example
Hello Rafael ,
How are u. You can use Do_Key Built in for this
purpose at form levels triggers.I think it will work.
Amjad Ali
null

Similar Messages

  • How to implement Key Flex Fields in new oracle apps custom forms.

    how to impletement key flex fields in oracle apps custom forms
    if any technicle document is there then send me on this forum and also send me on my email id.
    [email protected]
    Thanks & Regards,
    Pranay Patel

    Hi,
    Please see the note:730068.1 - How To Invoke a DFF from a custom form
    Thanks,
    Ajikumar G

  • How to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

    how to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

    Hi,
    At Form level, write trigger for WHEN_KEY_DOWN, check for F10 and put action as NULL.
    Regards,
    Amol

  • Can't figure out how to create an update form in a cfwindow tag

    I finally was able to figure out how to do an add form inside
    of a cfwindow tag yesterday. But I want this form to be
    multipurpose, and allow edits as well. But for the life of me, I
    can't figure out how to pass a row of data to the form inside a
    cfwindow. Normally, I'd pass the primary key via the URL but if I
    try to do that here, it basically reloads the page and closes out
    the cfwindow since I have the window set to not show by default.
    My page has a list of departments. My page is called
    departments.cfm. For each row in the department list, there is a
    link called edit. When the user clicks this link, I want the
    cfwindow to open with the cfform populated with the data from the
    department list for the row selected. Sounds simple enough, except
    how do I pass the department_id to the form? If my link is <a
    href="departments.cfm?id=#department_id#>Edit</a>, the
    cfwindow tag displays and I can see the data in it, but then closes
    right away. I finally figured out that it was calling the page
    again and the cfwindow is closing because I have it set to not
    display by default. I'm about ready to drop this cfwindow and just
    do real popup windows via javascript. And I'm normally not in favor
    of doing popup windows, but the application I'm working on doesn't
    have enough real estate on the screen to do a hidden form, so a
    separate window containing the form is my best solution.
    Anyone have any suggestions?

    Well, this is kind of a tough one for me, but it sounds like
    the best way will be to launch a JavaScript function everytime the
    user clicks the link, like this:
    <cfoutput query="getDepartments">
    <a href="javascript:showWin(#yourID#)">show
    window</a>
    <br>
    </cfoutput>
    the showWin function will both create the window and launch
    it, passing in the user chosen var:
    function showWin(id) {
    var URL = 'editDeptPage.cfm?dept_id=' + id;
    var winName = 'deptWin' + id;
    ColdFusion.Window.create(winName, 'Edit the Department',
    URL,
    {x:100,y:100,height:300,width:400,modal:false,closable:true,
    draggable:true,resizable:true,center:true,initshow:true,
    minheight:200,minwidth:200 })
    The following line of code is supposedly to make sure that
    the window refreshes each time it is launched, by naming it
    something new each time:
    var winName = 'deptWin' + id;
    However, if it doesn't work, I think there's a Window refresh
    function in the Ext library but I'm not sure.
    Also, in the showWin function, after the Window is created,
    you might need this but I'm not sure:
    ColdFusion.Window.show(winName)
    Talk to you later,
    Peter

  • How to define keys in target DSO

    hi gurus!!
    ..can you please extrapolate on how to define key in target DSO and transformation logic.. (please refer to below discussion from for scenario from earlier posting)
    thanks in advance
    I have data from 3 datastore objects which I need to update one infocube. However, I need the data to come together to form one line per record. I've found that if I update the cube directly from the 3 DSO I get 3 lines rather than one, and if I update them all to a DSO and then to the cube, the same thing happens because I take the data from the change log.
    If I go via an InfoSet, I can not do a delta upload to the cube.
    I need this to run a min of once an hour.
    Any tips or advice would be greatfully recieved.
    Thanks
    Alice
    answer:::::
    You need to have an common key fields set in all of the three transformations.
    In your case it is probably:
    The key in target DSO is: k1..k3
    ODS1 - updates key k1, leaves k2, k3 empty
    ODS2 - updates key k2, leaves k1, k3 empty
    ODS3 - updates key k3, leaves k1, k2 empty.
    If you have it that way, you will end up with three records, instead of one.
    k1, empty, empty
    empty, k2, empty
    empty, empty, k3
    To resolve this, all of the source DSO must be able to determine and set a common key part in the transformations.
    Target ODS:
    Key K1,
    ODS1 - updates K1, key figures/characteristics from ODS1
    ODS2, updates K1, key figures/characteristics from ODS2
    ODS3, updates K1, key figures/characteristics from ODS3
    result:
    K1, key figures/characteristics from ODS1, then
    K1, key figures/characteristics from ODS2 - result is - previous record's key is overwritten, but the key figures/characteristics are mapped to the correct infoobjects (depending on how you set the transformation....)
    K1, key figures/characteristics from ODS3 - as for ODS2.
    The final result:
    K1, key figures/characteristics from ODS1, key figures/characteristics from ODS2, key figures/characteristics from ODS3.

    Hi,
           As thomas said you maintain your keys same as your source DSO's  in the target DSO.This is how the procedure goes when no specification for the keys are given.So maintain same keys which are in the sources.
    Regards
    Karthik

  • Function keys in Forms 9i

    Function keys in Forms 9i
    are not working with me..any possible reasons?

    Thanx for your help.
    it was my mistake I thought F9 is a built-in function key for LOV like it was in 6i
    but I have another question please in this area
    suppose I want to add F9 function key to call LOVs
    I understod that i shoud add this line to fmrweb.res
    120 : 0 : "F9" : ??? : "List of values"
    what should I put instead of the question marks?
    what is Forms function number? how can i find it? and how can i modify it?
    thanx again.

  • How to use Procedure in form 6I to add piture in Table

    Hi i create a Table which is
    create table demo
    ( id        int primary key,
      theBlob    blob
    /and Create a directory
    create or replace directory my_files as 'c:\Shah';I add a picture in database through this code
    declare
        l_blob    blob;
        l_bfile    bfile;
    begin
        insert into demo values ( 1, empty_blob() )
        returning theBlob into l_blob;
        l_bfile := bfilename( 'MY_FILES', 'water.gif' );
        dbms_lob.fileopen( l_bfile );
        dbms_lob.loadfromfile( l_blob, l_bfile,
                                   dbms_lob.getlength( l_bfile ) );
        dbms_lob.fileclose( l_bfile );
    end;
    /its add successfully and show me in Form 6I and Report 6I but i want to add picture in database through Form 6I
    So i create a Procedure_body
    with this code But its give me error
    The folder is Read_only i check the folder its not read only but still same error
    Any other idea how to add picture through form
    Regards
    Shahzaib ismail

    If you want to save only pictures in BLOB column, you can do it directly in forms, without using a procedure
    When you create a block based on a table, BLOB column is automatically displayed as <image>.
    Use following code to select the image you want to save.
    declare
    filename VARCHAR2(256);
    begin
    filename := GET_FILE_NAME(File_Filter=> 'All Files (*.*)|*.*|');
    READ_IMAGE_FILE(filename, 'ANY', 'BLOCK_NAME.COLUMN_NAME');
    end;
    When you will commit the data in form. your image will be saved automatically.
    Hope it helps

  • Composite Primary Key in Form

    Hi, I have a table which maintains versions. This has a composite primary key - eg - Company_id + version_no. I tried creating a form based on a template with Primary key as Company_id and primary key column 2 as Version_no. When I try to run the form it gives an error, 'Invalid number' on the process in Rendering page. When i remove the second primary key the results are displayed correctly (however I have a problem when there are more than 1 versions - too many rows).
    How do I create a form based on a template with a composite key.
    How can I create a form which has more than 2 keys as part of a composite primary key.

    This thread is old....but let me make some notice...
    Oracle guys,
    does all that mean that you encourige using simple PK which is based on sequence, regardless that involve unique index on columns that normaly represent PK, but in master detail wizard it is impossible to use composite keys?
    Why I'm asking this?
    Because many apps are translated to HTMLDB (Oracle based) directly with not too much problems. But if we have to change PK then many things are complicated...
    This all come from a problem how to fill detail table PK where first coulmn represent master key field and second one is filled with user input-nothing can be automated.
    In your demo I saw that for "orders-order items" you use "simple PK" technique, regardless order items could have PK made from (OrderId, Id)...
    Please make some respond for this....
    THX!

  • How to replace key value with character

    Hi Experts
    Can any one tell me, how to replace key value with character, whether it is possible are not. My present report is displaying below format.
    country--city-area-flatnocountry--City-Flatno
    Customer--USACOst1111---UK--HD20--
    C100--11---11--
    C200--11---1--
    For the above example format i am able to display. But now i want to replace 1 with character value for example. For C100
    country is USA at presnt 1 but it should replace with USA.
    You find required format below.
    country--city-area-flatnocountry--City-Flatno
    Customer--USACOst1111---UK--HD20--
    C100--USACOst1111--
    C200--UK--HD20--
    thanks .
    Regards,
    Vishal.

    Hi Markus,
    Thanks for reply,
    Actually i dont have attribute for the customer, the data is maintained in ods, in the form, customer name one info-object and customer value one more info-object this value got text. This value stored in the ods as below
    costomer number  customer value
    C100--USA
    -C100CO
    C100--11-
    C200----
    UK
    C200----
    20
    Please let me know any clarification you need.
    Thanks and Regards,
    Vishal.

  • How to install Oracle FM Forms 11g on client system.

    Problem 1.
    I have an weblogic server installed on a server, now i have to install oracle Forms 11g in client system. its ask me weblogic server path whatever i try, its ask weblogic on client. what is the solution how installation of Oracle 11g form connect with weblogic server."
    Problem 2.
    i have install 64-bit OS windows 7.
    1. I Installed JDK 6 (64bit).
    2. Installed Weblogic Server. (its work fine)
    3. Now i m installing Oracle forms 11g 64(-bit). its show me an error (INST-07407: Unable to detect machine platform or JVM bits)
    please help me out. waiting for your positive reply.

    3. Now i m installing Oracle forms 11g 64(-bit). its show me an error (INST-07407: Unable to detect machine platform or JVM bits)It looks like you are installing the 32-bit version of Oracle Fusion Middleware (FMw) 11g - not the 64-bit version. As a test, install the 32-bit JRE and run the FMw installer again. If it continues past this point - you've got the 32-bit installer and not the 64-bit installer. :)
    Craig...

  • How do I reorder the form results from a non-BC form in Muse?

    I have a problem with Muse, in that the emails that get delivered from filled-in forms have various fields in the wrong order and not the order that the fields appear in the actual form.
    How do I ensure the form results emails maintain the order of the fields in the form?
    For example, on the www.actconstruction.com Subcontractors form, several of the fields are wildly out of order. Here's a screen capture of the form results email:
    Here's the form as it appears on the site. You can see the fields are in completely different order to the results emai:
    So, how do I make sure the fields follow a particular order that I want them to (i.e. in the order I placed them in the form itself)?
    The form can be seen at www.actconstruction.com/contact-us.html. This shows the actual order of information. The form results email should follow the order exactly as shown on the web site.
    I've had complaints from clients about this and need to handle it immediately. Please have someone get back to me with a figure-out.
    Many thanks,
    Len Williams
    727-466-6888

    I have a problem with Muse, in that the emails that get delivered from filled-in forms have various fields in the wrong order and not the order that the fields appear in the actual form.
    How do I ensure the form results emails maintain the order of the fields in the form?
    For example, on the www.actconstruction.com Subcontractors form, several of the fields are wildly out of order. Here's a screen capture of the form results email:
    Here's the form as it appears on the site. You can see the fields are in completely different order to the results emai:
    So, how do I make sure the fields follow a particular order that I want them to (i.e. in the order I placed them in the form itself)?
    The form can be seen at www.actconstruction.com/contact-us.html. This shows the actual order of information. The form results email should follow the order exactly as shown on the web site.
    I've had complaints from clients about this and need to handle it immediately. Please have someone get back to me with a figure-out.
    Many thanks,
    Len Williams
    727-466-6888

  • How to transfer the stock form Project stock to Sale order stock

    Hi
    How to transfer the stock form Project stock to Sale order stock
    I tried to do this with movement type 413Q
    System is giving me error
    Valuated project stock not allowed with customer stock.
    Message no. KI346
    How to do this
    Thanks
    NK

    You can use Mov Type 412-Q
    412     Q     Transfer posting project to own - reversal
    Thanks
    Rajesh

  • How to download PDF output forms to presentation server without display

    Hi All,
    My requirement is to download the Sales Order forms and save it in local system.
    I have created a custom program where I am passing a range of Sales Order no, Partner Function, Output type and Application as my input in selection screen.
    Logic:
    I am calling my Sales Order Abodeform using the FM: 'FP_FUNCTION_MODULE_NAME' and thereby I got the function module name of my form.
    Then I am calling the FM:
    Input to the FM:  
      ls_outputparams-nodialog = abap_true.
      ls_outputparams-authority = 'X'.
      ls_outputparams-getpdf = 'X'.
      ls_outputparams-dest = 'LP03'.
      ls_outputparams-nopreview = abap_true.
      ls_outputparams-reqimm = abap_true.
      CALL FUNCTION 'FP_JOB_OPEN' 
        CHANGING
          ie_outputparams = ls_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
    followed by,  CALL FUNCTION (FM name)
         EXPORTING
          archive_index        = toa_dara
          archive_parameters   = arc_params
          control_parameters   = ls_control_param
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          output_options       = ls_output_param
          user_settings         = ' '
          is_nast                 = nast
          is_vbdka               = vbdka
          is_addres             = addr_key
        IMPORTING
          document_output_info = document_output_info
          job_output_info      = job_output_info
          job_output_options   = job_output_options
        TABLES
          it_vbdpa             = tvbdpa    "Item information
          it_vbdpau            = tvbdpau   "Subitem numbers
          it_vedpa             = tkomservp  "Contract Item Validity
          it_vedka             = tkomservh  "Contract Header Validity
          it_vedpn             = tkomservpn "Contract Item Cancellation Data
          it_vedkn             = tkomservhn "Contract Header Cancellation DA
        EXCEPTIONS
          formatting_error     = 1
          internal_error       = 2
          send_error           = 3
          user_canceled        = 4
          OTHERS               = 5.
    then ,  CALL FUNCTION 'FP_JOB_CLOSE'
        IMPORTING
          e_result       = ls_result
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
    then i am using the below FM to get the OTF data if any available.
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = lv_binfilesize
          bin_file              = lv_bin_file
        TABLES
          otf                   = ls_output_info-otfdata-> i am not sure which data to pass here. i am getting sy-subrc value as 4.
          lines                 = lt_lines
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
    Now I dont no how to link the PDF forms to below method.
    CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          bin_filesize = v_size
          filename     = D://x.pdf
          filetype     =   'BIN'
        CHANGING
          data_tab     = lt_pdf.
    Because in smartforms, we will convert the OTF output to PDF and that value is passed to GUI_DOWNLOAD FM as input (lt_pdf) , whereas in adobeforms the output itself is in PDF so i dont how to retreive the values from adobeforms and pass it to the above FM, so that I can save 'N' no. of sales order outputs in one PDF file.
    Kindly help me out in this.
    Thanks & Regards,
    Karthikeyan G.

    Hi Vishnu,
    I read the GUI_DOWNLOAD FM documentation, if I am trying to download binary type of file, It is mandatory to pass file size.
    In my case, since I am having PDF file, so i don't no how to get the size of the pdf file.
    As you said, if i use Convert_OTF FM, i don't have data to pass to the OTF and LINES tables.
    I am having values of PDF in xstring format in ls_output1-pdf, which i got using the below FM.
    CALL FUNCTION lv_funcname (FM name)
        EXPORTING
          /1bcdwb/docparams  = ls_docparams
          is_vbdka           = vbdka
        IMPORTING
          /1bcdwb/formoutput = ls_output1
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
    Kindly tell me what values i need to pass to the FM you mentioned in order to get the size of the file.
    Thanks & Regards,
    Karthikeyan G.
    But still I am not sure, how the pdf output is coming for single input whereas if i give in a range, its failing. In single input, i am not giving binary file size still the output is coming.. but for range its not. Kindly help me out in this.

  • How do I use one form field to enter data into another form field?

    Does anyone know how I can code a form so that when I select
    a name in one drop-down form field, I can ensure that the person's
    e-mail address will appear in another text field?
    Thanks.

    Thanks Roel,
    I remember that I tried to define multiple DML. but it did not work for Apex gets confused.... which items belongs to which table...
    instead-of-triggers (to process the inserts/updates/deletes) Can you pls, elaborate more on this solution ... ?
    Regards,
    Fateh..

  • HT1373 how do I move songs form one account to another account?

    how do I move songs form one account to another account?

    Only sequentially. Each time you switch accounts, it will overwite the existing content with the new content.  As AnaMusic says, you cannot sync one device with two AppleID accounts at the same time, or even with the same AppleID on different computers for the same type of content (you could, for example, sync music to one computer, and calendars to a different computer, but not music to two different computers, even if they're the same AppleID). 
    Also, if you want to *re-download* content directly form the iTunes store (assuming it's an iPod Touch), you can only change IDs every 90 days.

Maybe you are looking for

  • How to convert the javasource file(*.class) to execute file(*.exe)?

    How to convert the javasource file(*.class) to execute file(*.exe)? thank you!

  • AMF connection working on browser, not in stand alone player

    Greetings, I'm trying to communicate my SWF file with PHP using Zend_Amf. I compile the flash side using Flex SDK 4. Whenever I try to run the swf using the stand alone player (the projector), I always get a NetConnection.Call.BadVersion event. Howev

  • Director and Flash Paper

    Hi Adobe forums, I've just about putting the finishing touches together for an interactive CD at work using director 1.0.11. I've provided users with a print button that then in theory should open the corresponding flash paper file and then the user

  • Defining User Defined Message in Adhoc SA

    Hi All, Sorry if i am posting same query. Our is Essbase Cube as source for OBIEE Reports. When users are trying to retrive huge set of data it thorws severe Essbase Error during Adhoc Analysis. Can we redirect to some other page or display pop-up me

  • I could not download adobe flash player 11

    when i tried to download adobe flash player 11 it wouldnt let me. it said it was not succesful. so now when i go to youtube it wont let me see videos. it said i have to update the latest version and it keeps telling me the same thing. so i just want