To format an Excel worksheet invoked by oracle form using DDE functions

I'm exporting data from oracle form6 into excel sheet using DDE functions.
Is there any DDE functions to format the excel sheet.

Maybe you can use format commands through DDE (if the DDE server suports them) but I personally don't know.
My approach is to record an excel macro which formats your sheet and then invoke the macro through DDE. You can fill cells with control numbers (like number of rows, number of cells) so you can make your macro even smarter by reading these numbers.

Similar Messages

  • How 2 invoke an oracle form from a database procedure?

    I have a procedure.When i run the procedure itt invokes an oracle form. This procedure is a database procedure.
    Is this possible? if possible how?

    I have the url to launch the forms application...
    can that url be invoked by a procedure?

  • Problem Querying Oracle Forms Using a Date Field and a Format Mask

    Hello,
    We are experiencing a problem with Oracle Forms that I was wondering if you can help me with.
    We have several Forms that have single database blocks assigned to Oracle tables. The Forms are queryable and one of the fields we’re querying on is assigned to a field on the base table which is Not Null and has a Type of DATE. We are storing date/time information in this field on the database table. The item on the form is set up as a Date field with a Maximum Length of 7, a Format Mask ‘MMDDYY’ and having a Query Length of 10.
    We’ve seen a discrepancy in how these fields are used to query the base table block. On some user’s computers they are able to enter a 6 digit date followed by the % sign (e.g. ‘091808%’) and they get the expected results. Other users get ‘FRM-40301: Query caused no records to be retrieved. Re-enter’. Do you know why we are experiencing this difference?
    - The Oracle Database version we are running is Release 10.1.0.5.0.
    - The Forms Developer version that we’re experiencing the problem with is 4.5.10.15.2
    Thanks,
    Kris

    There is no obvious reason that I can see.
    Version 4.5 is very old so you might have problems calling Oracle Support. If you can reproduce the same problem o0n 10.1.2 you should call have them analyze the problem.

  • Access Flat Files From Oracle Forms Using Simba

    Hi,
    I need to access Flat Files using Simba and display the data using Oracle Forms on Solaris. The Flat Files, Simba and Oracle Forms is on Solaris.
    Thanks.
    Sanjay R Naidu.

    Hi,
    not knowing the flat file's format and why you need SIMBA for it, Forms provides a text_io package that can read from files. You need to parse the file's content and then bring this to a datablock.
    Frank

  • Search option using a new small window in oracle forms using pl/sql

    Hai Friend,
    Iam Navya Jeevan,regarding Oracle Forms and Reports Doubts.
    Our project is developed using Forms and Reports
    In Forms for triggers we are using Pl/SQl language.
    DOUBT
    IN a form we require an option like search button when we press the search button a small window must be opened.This window should contain details from database(ie an entire column of database,must be displayed in the window ) and the user selects the value from the window.
    If u got any sample code related to this subject please mail to me.
    ....................................VERY URGENT............................................................................
    thankyou,

    Hello,
    The LOV is made for this.
    Francois

  • Call Oracle forms using web application

    Hi,
    I am newbie for configuring oracle forms with web application.
    what are all the steps needs to be done for calling oracle forms 6i from web application.
    Thanks
    Raj

    In which case I would suggest you go to 10g or 11g of Forms since 6 is no longer supported.
    then check out
    http://www.oracle.com/technology/documentation/forms/index.html
    http://download.oracle.com/docs/cd/B25016_04/doc/dl/web/B14032_03/B14032_03.pdf
    http://otn.oracle.com/formsupgrade
    Its all documented here
    Regards
    Grant

  • Executing oracle form using .BAT file

    I have written one batch file to run oracle form
    FILE START.BAT :
    ifrun60 D:\DEPLOY\USER_INPUT.fmx scott/tiger@HOSTDB
    when I give command on DOS prompt.
    D:\deploy>start and press ENTER
    it doesn't work. Would you please suggest any solution to this?
    Thanks in advance.
    Shailesh

    hi dear
    user this code ur batch file
    @echo off
    :: COMPILE_FRM.BAT
    cls
    ECHO Compiling forms
    FOR %%f IN (*.fmb) DO ifcmp60 userid=scott/tiger@db module=%%f
    ECHO Finished compiling
    M Rizwan

  • Formatting of Excel worksheet While using Export to Excel

    Hello Experts,
    I have a requirement to format the workbook according to the user needs while the user clicks "Export to Excel" in the webpage of Web template.
    The major problem is with the hierarchy.. when exporting, the hierarchy nodes have triangular symbols.. is there any way to remove them??
    What can i do, so that i can make changes to the default export format of the workbook, while exporting it??
    Any helpful suggession will be appreciated and rewarded.
    Thanks and Best Regards,
    Vikas Bittera.

    Hi Mark,
    Thank you very much for the response.. however this is not the full solution of my problem..
    Now, if i execute the same query in the BEx explorer analyzzer, then even this setting does not work... it shows traingles.. wht oue intention is to use Excel grouping function, so that the user will have better navigation in hierarchy..
    so is there any way to do this? we need to other formatting of the output.. is it possible that we can change the standard query ouput in excel??
    Looking ahead for your response..
    Thanks and Best Regards,
    Vikas Bittera.

  • Export to excel in web with oracle forms 10g

    we have an application running on web with oracle 10g forms in windows server 2003. We use webutil to generate excel. But it is terribly slow when its is run on web. When run locally its fine...
    PLS suggest.....
    Thanks,
    Rekha

    CLIENt_OLE transfers lots of small packets over the network,that's what it makes slow. What you could do.... write your own javabean which uses jacob and "aggregates" the low-level OLE-commands to somehow logical commands like "writeValuetoCell"

  • Invoking ALBPM (Oracle BPM) using Webservice calls

    Hi,
    I am trying to invoke Oracle BPM processes using webservice dynamically using events. I am presently not able to find any samples in this regard. Could somebody help me figure out a way to invoke Oracle BPM process dynamically using events ?
    I would like to avoid the use of polling as an option.
    TIA,
    Sarat
    Edited by: [email protected] on Jun 9, 2009 9:15 AM
    Edited by: [email protected] on Jun 9, 2009 9:15 AM

    I too have this question. It seems like you can no longer use BPEL with BPM 6.5/10GR3. Is this in fact the case? To use BPEL do you have to revert back to version 6.0?

  • How open app excel or pdf from oracle form

    Hello,
    i want to open Excel program or accrobat when i press on the button ,
    i wrote this code
    DECLARE
    AppID PLS_INTEGER;
    BEGIN AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\OFFICE11\excel.exe',
    DDE.App_Mode_Minimized);
    END;
    but nothing display

    hi
    If you did not configure webutil please configure the webutil after that u can use the webutil utilities.
    u can try this.
    when-button-pressed trigger.
    host ('C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe "c:\pdf.pdf"');sarah
    Edited by: SaRaH on Jul 12, 2010 5:02 AM

  • How do I call a SAP RFC from an Oracle Form using webutils CLIENT_OLE2?

    Hi guys,
    Your help on this problem would be greatly appreciated.
    We have an older forms 6i application which we are currently updating to 10g (which is a pain itself... but that's a different story.) which currently uses unssupported c++ routines to connect to the SAP system, we want to do away with this c++.
    What I have so far is the following test code:
    PROCEDURE cmd_summary
    IS
    o_sap_log client_ole2.obj_type;
    o_sap_conn client_ole2.obj_type;
    o_sap_rfcc client_ole2.obj_type;
    -- o_sap_rfcx client_ole2.obj_type;
    -- o_sap_rfc client_ole2.obj_type;
    v_args ole2.list_type;
    v_logon BOOLEAN := FALSE;
    BEGIN
    :block3.txt_result := 'TEST Started!';
    --create logon control object
    o_sap_log := client_ole2.create_obj ('SAP.logoncontrol.1');
    --create the function object
    o_sap_rfcc := client_ole2.create_obj ('SAP.Functions');
    --create a new connection object
    o_sap_conn := client_ole2.invoke_obj (o_sap_log, 'NewConnection');
    --set the connection properties
    client_ole2.set_property (o_sap_conn, 'System', caps$get_sys_param ('SAP_DST'));
    client_ole2.set_property (o_sap_conn, 'MessageServer', caps$get_sys_param ('SAP_HST'));
    client_ole2.set_property (o_sap_conn, 'GroupName', 'DEVELOP');
    client_ole2.set_property (o_sap_conn, 'client', caps$get_sys_param ('SAP_CLT'));
    client_ole2.set_property (o_sap_conn, 'SystemNumber', caps$get_sys_param ('SAP_SYN'));
    client_ole2.set_property (o_sap_conn, 'User', caps$get_sys_param ('SAP_USR'));
    client_ole2.set_property (o_sap_conn, 'Password', caps$get_sys_param ('SAP_PWD'));
    client_ole2.set_property (o_sap_conn, 'language', caps$get_sys_param ('SAP_LNG'));
    --set up the logon arguements
    v_args := client_ole2.create_arglist;
    client_ole2.add_arg (v_args, 1);
    client_ole2.add_arg (v_args, TRUE);
    --run the logon function
    v_logon := client_ole2.get_bool_property (o_sap_conn, 'logon', v_args);
    client_ole2.destroy_arglist (v_args);
    IF v_logon
    THEN
    :block3.txt_result := :block3.txt_result || CHR (10) || 'LOGON Worked!!';
    ELSE
    :block3.txt_result := :block3.txt_result || CHR (10) || 'LOGON Failed!!';
    END IF;
    :block3.txt_result := :block3.txt_result || CHR (10) || 'TEST Ended!';
    EXCEPTION
    WHEN OTHERS
    THEN
    :block3.txt_result := :block3.txt_result || CHR (10) || SQLERRM (SQLCODE);
    END cmd_summary;
    NOTE: the get_sys_param functionis returning text from a table.
    This seems to work okay, the logon command returning a TRUE. All good so far.
    However, when I try to then use this connection for anything then I stumble and fall!
    I've seen an example in VB where the SAP RFC object is "assigned" the connection object by simply stating:
    Set oSAPrfc.Connection = oSAPconn
    Where oSAPconn is setup in a similar way to my o_Sap_conn in the above example.
    I have tried using the CLIENT_OLE2.SET_PROPERTY procedures but I don't think that's quite right.
    I've tried using invoke, to try and "run" the method like:
    v_args := CLIENT_OLE2.CREATE_ARGLIST;
    client_ole2.add_arg_obj(v_args,o_sap_conn);
    client_ole2.invoke(o_sap_rfcc,'Connection',v_args);
    client_ole2.destroy_arglist(v_args);
    but it fails.
    I have also tried using the actual Connection function directly:
    SAP_ISAPFUNCTIONS.connection(o_sap_rfcc, o_sap_conn);
    But that just causes the Forms Server to crash... :?
    Has anyone connected to SAP via Forms? I noticed one post on this forum which an example of some code using a SAPBAPI control but not WEBUTIL (Which I think I'd need to use because we are running 10g)
    As a side note we are also looking into SAP Adapter as a possible "other" route but this too is getting very complicated... And I can't see a way of connecting a form to the Adpater anyway :(
    Any advice would be very much appreciated.

    Can anyone help?
    Mike

  • Oracle Form - use in batch mode

    How could I launch a procedure triggered by a form in batch mode, without the need of interactive operations.
    I should be able to pass all the parameters that can be set in interactive mode
    Is there any standard way to do that?
    Nicola

    One of our customer have a huge amount of forms, and they want to automate them using a job scheduling solution, but they don't want to rewrite all the code of forms
    The problem is that it seems impossible to launch them using any kind of command mode / non interactively
    Thanks

  • Oracle Forms using call_forms

    I am modifying a form to add call_forms. While running the form in query, it displays an error for calling a form. If I commit the form before calling the
    new form, it works ok. Any idea how to call the form without committing.
    Thanks

    Hello,
    What you mean by running form in query ? As far as i am getting you is that you are opening your form in enter query mode and from there you are trying to call a another form.
    If this is the case then you are lacking in concepts. You can never move out of block in the enter query mode. For performing any other operations besides making query, you have to come out of the query mode.
    You can coem out out of query mode by pressing button with proper code of pressing "X" on the corner of forms window.
    In your case i asume that you are coming out of enter quey mode by pressing the commit button. But this should be displaying message "NO CHANGES TO SAVE". So, by this way you come out of enter query mode and hence able to call a new form.
    For solving this problem first come out of enter query mode and then call other form.

  • Inserting dynamic images to excel using oracle forms 6i

    HI All,
       I'm working in project to export data from a table, one of the column has images (Blob). I need to export the data to excel.
       How can I do it?
    Thanks

    Use OLE Functions.
    http://codingwithpassion.blogspot.com/2011/02/plsql-forms-word-and-excel-manipulation.html
    Features of OraOLEDB
    ole - Oracle Forms using OLE2 not saving Excel document on 3-tier setup - Stack Overflow
    Tx

Maybe you are looking for

  • Urgent help needed with reading data from Cube

    Hi Gurus, Can anyone tell me how to read a value from a record in the CUBE with a key (combination of fields). Please provide if you have any custome Function Module or piece of code. Any ideas are highly appreciated. Thanks, Regards, aarthi

  • Every day in calender is marked as if there is an event?

    Hello from Germany, since I created recuring events for all birthdays of friends and family in Outlook 2003, in calender every day is marked with this dot, even when there is no event? Thanks

  • Is there a third party MagSafe 2 L-shaped adapter for MBA

    In the 18 months we've had our 2012 MBA, we've never had a day in which the MagSafe 2 didn't come out at least 5 times without our intending it to.  This laptop is portable - it doesn't stay on a desk - my wife works in bed, on the couch, while nursi

  • Label Graphic Script CS4 Questions?

    Trying to test the label graphic script in cs4. How do I control the font in the label box. Seems to be defaulting to a font I dont want to use. Want to use a simple 9 point font. Is there any further documentation on the use of this script or other

  • Functionality & configuration of dunning

    I need to understand the functionality of dunning and its related configuration steps. T