How to synchronize a cell in form with a cell in MS excel sheet

dear all
I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , i need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
please help

Dear all
I can successfuly export data to excell using the ole2 package. But the problem is that exporting data from A datablock in a form to Excel sheet is not enough.
I need to automaticaly copy updates occures on the datablock to its equilivant in the excel sheet. In other words , I need to synchronize my datablock items with facing cells in the excel sheet,so the cells'values in excel sheet automatiacly changes to be the values in the datablock items
I searched the web several times . Some people adviced me to use "Apache-jakarta-poi" . It is a pure java code. But my knoledge in java is limited.I asked on Oracle forums -
how to synchronize a cell in form with a cell in MS excel sheet - but no one can help
I tried the oracle forms demo "OLEEXCEL.fmb" . But this form is not working correct .
I need to embed ole2 in my form that holds excel sheet and passes values from text items to the excel sheet.
My last try is that I did the following :
1- in the main canvas i insert the OLE2 control
2- Right Click and choose insert
3- from the dialog i chosed Excel Sheet
4- I placed a button on my canvas then i on the button I write this code
declare
worksheet ole2.obj_type;
cell ole2.obj_type;
args ole2.list_type;
begin
forms_ole2.activate_server('block1.excel_sheet');
worksheet := forms_ole2.get_interface_pointer('block1.excel');
args := ole2.create_arglist;
ole2.add_arg(args,1) -- column1
ole2.add_arg(args,1) -- cell1
cell := ole2.invoke_obj(worksheet,'cell',args);
ole2.destroy_arglist(args);
ole2.set_property('cell','value',:text1);
ole2.release_obj(cell);
ole2.release_obj(worksheet);
end;
I get this error ora-305500
and when i debug , the code stop in this line : cell := ole2.invoke_obj(worksheet,'cell',args);
please help

Similar Messages

  • Using iPad2 to fill PDF forms with calculating cells

    I currently have the PDF Expert app. installed.  I have created a PDF form with calculating cells and cells with multiple selections using Adobe Acrobat X Pro.  It works on my PC on 2 different PDF reader apps, however when I load it in PDF Expert on the iPad it does not calculate and the multiple selections aren't there.  It also does not keep the formatting of the cell.  I set the cells up as currency, however it does not show as currency once loaded in the PDF Expert app on the iPad.  Is there an app out there for the iPad that will allow PDF form fill in and will also show the cell formatting and calculations? Or is this a limitation caused by iOS? I have also tried Adobe's reader app for the iPad and it doesn't show it on there as well.  Any help would be greatly appreciated! Thanks!

    I'd be amazed if you could. I wouldn't think it possible to even open a PDF, much less edit one.

  • How to synchronize  the mail  automatically. With out clicking the mail icon ?

    How to synchronize  the mail  automatically. With out clicking the mail icon ?

    You can do that with the keyboard.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    There may be an extension that has a reset zoom button.
    *https://addons.mozilla.org/en-US/firefox/search/?q=zoom
    You can also create your own button and use this code to reset the zoom: <b>FullZoom.reset();</b>
    *Custom Buttons: https://addons.mozilla.org/firefox/addon/custom-buttons/

  • How to pass record Group from Forms with DATA_PARAMETER to Reports Server

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,
    Arif

    Hi Mandeep,
    Could you please tell me how can i pass data parameter from forms to report through run_product.

  • How to make a jsf parameter form with a selectOneChoice and data control

    I want to make a parameter form with a selectOneChoice and store this value in a backing bean, so I can use as a bind variable in query. I already made it happen without data control
    Can someone show how to do it in adf data control. With the wizard it tries put the value
    in a viewobject but I don't have base or destination viewobject. I can change the pagedef
    so it works to fill the selectOneChoice but then I want to store the selected value in a session beab
    here is solution with the application module and request / session bean, I don't
    think it is the right solution
    thanks edwin
    jsf page
    <af:selectOneChoice label="Desk" value="#{selectDesk.desk}"
    id="DeskID"
    binding="#{selectDesk.deskBinding}"
    autoSubmit="true"
    valueChangeListener="#{selectDesk.deskChangeListener}">
    <f:selectItems value="#{selectDesk.deskSelectItems}"/>
    </af:selectOneChoice>
    Selektdesk backing bean
    public SelectDesk(){
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{userInfo}");
    userInfo = (UserInfo) valueBinding.getValue(facesContext);
    public List<SelectItem> getDeskSelectItems() {
    if ( userInfo.getSelectItems() != null ) {
    selectItems = userInfo.getSelectItems();
    return selectItems;
    if ( getBindings() != null ) {
    userInfo.setBindings( getBindings());
    else {
    setBindings(userInfo.getBindings()) ;
    if ( selectItems == null ) {
    selectItems = new ArrayList<SelectItem>();
    DCBindingContainer bc = getBindings();
    SicmaService sicma = (SicmaService)bc.findDataControl("SicmaServiceDataControl").getDataProvider();
    ViewObject desk = sicma.findViewObject("DeskSelectView1");
    desk.executeQuery();
    RowSet rows = desk.getRowSet();
    while (rows.hasNext()) {
    Row a = rows.next();
    String DskId = a.getAttribute(0).toString();
    String DskOms = a.getAttribute(1).toString();
    selectItems.add( new SelectItem(DskId ,DskOms ));
    rows.closeRowSet();
    userInfo.setSelectItems(selectItems);
    return selectItems;
    faces-config.xml
    <managed-bean>
    <managed-bean-name>selectDesk</managed-bean-name>
    <managed-bean-class>org.tennet.sicma.view.backing.SelectDesk</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <property-class>oracle.adf.model.binding.DCBindingContainer</property-class>
    <value>#{bindings}</value>
    </managed-property>
    </managed-bean>

    The SRDemo has an example of a selectOneRadio bound to a parameter being used to pass to an ExecuteWithParams action (to automatically feed a view object's named bind variable. This is in the SRStaffSearch.jspx page.
    Also, if you check out example # 72 from my blog:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#72
    There is another example of using a selectOneListbox to do the same type of thing.
    The steps involved in creating something like this are to:
    (1) Define your named bind variables on your view object
    (2) Drop the "ExecuteWithParams" action in the operations folder of that view object from the Data Control Palette to your page as a "Parameter Form"
    (3) Drop the specific attribute (nested child of the "ExecuteWithParams" action from step (2) as whatever kind of selectOneXXXX control you want
    (4) Delete the extra field on the form you don't want.

  • How can I fill a pdf form with Excel?

    I have a pdf form and a set of Excel dates. How can I fill the form with this dates?
    Is there any way to transform excel dates into a fdf-File?
    Thank You for helping
    Hans

    I see. That's possible, in theory, but it requires using a complicated custom-made script.
    I would suggest using that Mail Merge option that's available in some versions of Excel to produce multiple single-page files, then flatten all of them (using an Action), and then merge them to a single file, to achieve the same result with much less effort.

  • How to make a spreadsheet column-formula with relative cell addresses?

    I'm trying to make a spreadsheet compute with relative cell addresses. I tried what's on the help page, and it doesn't work.
    What I’m attempting is to make one column contain the differences of another column, like,
    Gn=Fn-F(n-1)
    to apply to the entire G column, without typing (or even pasting) 100s of individual formulas. As an added bonus, I'd like for the invalid cell address resulting from n=1, to be defaulted to 0.
    How to do this???

    Another way to move the relative formula to other cells:
    Select the cell with the formula, use the little handle in the center of the side (it appears when you move your pointer there).  In the picture it is in the center of the bottom side.  Drag that handle downward, this copies the formula into the cells you include in the drag.  You can also do this upward, leftward, rightward by selecting one of the other sides.

  • How to synchroniz​e two analog output with USB-6353 sharing a trigger

    I'm have the need to synchronize two analog output on the same device (USB 6353) sharing a trigger signal on PFI0.
    The programming environement is Visual C++ , and the code I wrote is as following:
    DAQmxCreateTask ("", &Ao0TaskHandle);  // is the task handle for the analog output Ao0
    DAQmxCreateVoltageChan((Ao0taskHandle,"Dev1/Ao0","​",-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCfgSampClkTiming(Ao0taskHandle,5000.0,DAQmx_V​al_Rising,DAQmx_Val_ContSamps,1000);
    DAQmxCfgDigEdgeStartTrig(Ao0taskHandle,"/Dev1/PFI0​",DAQmx_Val_Rising);
    DAQmxCreateTask ("", &Ao1TaskHandle);  // is the task handle for the analog output Ao1
    DAQmxCreateVoltageChan((Ao1taskHandle,"Dev1/Ao1","​",-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCfgSampClkTiming(Ao1taskHandle,5000.0,DAQmx_V​al_Rising,DAQmx_Val_ContSamps,1000);
    DAQmxCfgDigEdgeStartTrig(Ao1taskHandle,"/Dev1/PFI0​",DAQmx_Val_Rising);
    DAQmxWriteAnalgF64(Ao0taskHandle,1000,FALSE,10.0,D​AQmx_Val_GroupByChannel,AOdata,NULL,NULL);  AOdata is a buffer containing a sinwave
    DAQmxWriteAnalgF64(Ao1taskHandle,1000,FALSE,10.0,D​AQmx_Val_GroupByChannel,AOdata,NULL,NULL);
    DAQmxStartTask(Ao0taskHandle);
    DAQmxStartTask(Ao1taskHandle);
    What happen as result of the code is that only the Ao0 channel get the sinwave output , but not the Ao1 . It seems the two channels are not synchronized.
    What is wrong in my code?
    Please any help non referred to a LabView soloution , first because I'm not a LavView programmder and secondly the project impose C++ as the unique environement.
    Thanks
    Enky

    It will depend on what you are programming the NI 5112 device with.
    If you are using LabVIEW, you can use the example program attached below. In it, it will show you how this is done.
    If you are using VB, VC++ or CVI, you can look at one of the NI 5112 shipping examples that are installed on your computer. These are located in the VXIPNP folder. For example, the VC++ example would be located here:
    C:\VXIpnp\WinNT\NISCOPE\Examples\c\MStudioC++\5112​Sync
    These examples will show you how to synchronize the two digitizers.
    Let me know if you have any questions about these examples.
    Brian
    Attachments:
    Multiple_NI_PXI-5112_Synchronization_Demo.llb ‏151 KB

  • How do I make a PDF form with data-merge capabilities (to use with .xls spreadsheet)?

    I would like to design a form in InDesign (CS2), export it to a PDF, use Adobe LiveCycle to make it into a form, then use data from an excel spreadsheet to populate the form in a repetative fashion so that each person in the spreadsheet gets a populated form with only their applicable data on it. Is this possible?

    You can use LiveCycle Designer's Data Connection to access an SQL data base. Excel can act as an SQL database.

  • How to make a one field form with Adobe Muse?

    Hello,
    I hope you can help me guys, im trying to make one field form for a webpage (this form is just to input a phone number, similar as the newsletter sign up forms with one field) and the problem is with the widgets i can´t erase the Name and email field... Is possible to eliminate those?
    thanks a lot for your help

    Hi
    I am afraid its not possible to do the same, as Name and email field are mandatory.

  • Issue with downloaing from ALV to Excel sheet

    Hi All,
    When we download the ALV Report to excel sheet, the first line/first column (A11) of excel sheet will have today's date.
    Since my customer uses the excel sheet for further processing into a non-SAP system, we need to provide the excel sheet with the cell A11 (First line's firls column) as blank.
    How can we deliver this requirement?
    Your help will be sincerely appreciated....
    Regards
    Pavan

    One option is there
    Give him 1 push button on toolbar other wise you can write below function module in
    start of selection code also.
    1 ) modify u r internal table according to requirement.
    2) after that call WS_DOWNLOAD function module.
    Check below code for u r reff.
    *Modify itab according to u r requirement.
         Loop at IST_DWN.
            IST_DWN-KUNNR2_DESC = SPACE.
            IST_DWN-KUNNR3_DESC = W_ZPPCSR-KUNNR3_DESC .
            APPEND IST_DWN.
            CLEAR DATE.
          ENDLOOP.
    *F4 Help for file menu
    CALL FUNCTION 'F4_FILENAME'
            IMPORTING
              FILE_NAME = PATH.
          RLGRAP-FILETYPE = 'DAT'.
    Download fm
          CALL FUNCTION 'WS_DOWNLOAD'
            EXPORTING
              FILENAME         = PATH
              FILETYPE         = RLGRAP-FILETYPE
              MODE             = XMODE
            IMPORTING
              FILELENGTH       = L_FILELENGTH
            TABLES
              DATA_TAB         = IST_DWN
            EXCEPTIONS
              FILE_OPEN_ERROR  = 1
              FILE_WRITE_ERROR = 2
              OTHERS           = 3.
    Salil ...

  • Reg: Download alv grid data with top of page into excel sheet

    Hi All,
    I have a selection screen with radio button for download .
    If that radio button was selected then the data will download into excel sheet (like if we execute normal ALV grid display from there we can download top-of-page and body as it is).
    AOO : 2009P               
    Fiscal year : 2009               
    Posting period : 00               
    Local Currency : USD               
    CO Area Currency :               
    Accounting standard:               
    Sector : 23               
    BB code     Period Value LC     Periodic Quantity
    AHDKGKAJ   200                         0

    Did not get your question

  • How to update a custom list when there is a changes in excel sheet uploaded in document library

     
    I have created a document library in which m uploading a excel sheet with values in it and i have created a custom list with same no.of.rows and columns in the excel sheet given the same name of columns. Now i have to make sure that whatever changes i do
    in the excel sheet should automatically gets updated in custom list in sharepoint

    You'll need to create an event receiver for when you add/update a document on the source library (http://msdn.microsoft.com/en-us/library/office/gg749858(v=office.14).aspx)
    Then, with code open the excel file and count the rows. You can use the OpenXmlSDK to do that (http://www.microsoft.com/en-us/download/details.aspx?id=5124)
    Good luck ;)

  • How to create barcode in Smart Forms with MS Word as Editor?

    Hi,
    I created a character format for a barcode in a smart style.
    The problem is that I do not know how to assign it to the text in Smart Form because the Editor is MS Word and not the normal Editor.
    Any suggestion or idea.
    Thanks & best regards
    Viktoria

    Hi and thanks for the fast reply,
    I have created a smartstyle and also a characterformat for the barcode. This is not the problem.
    I call the layout via HRFORMS. The Form Builder for Smart Forms is called and the Editor for the text nodes is preset and is the MS Word editor. This cannot be changed. I tried different things also in the settings. The normal text editor cannot be called.
    I choose and enter the field that I want to convert into the barcode &wa_barcode&. I do not work with standard texts (SO10). The text field is a normal text node in Smart Forms. The character format that applies converts the number in the variable field into the barcode.
    In the MS word editor I have only formats that are in the office environment (arial, ...) I do not see the formats that I created in smartstyle also when I assign it in the output options of the text node.
    So maybe I have to work like this for now. Swich between HRFORMS and SMARTFORMS when working with barcodes. In the Smart Forms transaction it is the normal editor where I can see the paragraph/ character formats from smartstyle.
    Thanks and best regards
    Viktoria

  • How to create am email subscribe form with EA?

    I know how to create the input elements, but how I create the form element directly in EA?

    Thanks. I have it working now.
    One problem working with most e-mail list providers is that the response, when someone subscribe to a list, is anew html page that replaces the one you have. In most cases that is not an issue, but if you want to keep the flow in your page it is.
    The typical way to solve the problem is by not using the default forms, but by creating one that works through a PHP or other server side script that can receive a response that can handle anyway you want on the fron end.
    Since I am trying to see what can I do without depending in particular sewrver side code, that was not an option for me.
    The way I solved was dynamically creating an iframe inside EA so the response html page will be restricted to that area, which I can manipualte from EA.

Maybe you are looking for

  • HP Officejet 6500 (E709n) wireless mobile printing issues using Wi-Fi...

    I have an HP Officejet 6500 (E709n series) that I can no longer print from my Android based device. I have the latest drivers installed on my Win-7 64 bit Premium edition and have flashed the most current firmware available on HP's site. There was a

  • Reg Delivery schdules message to vendor

    Hi We have simple schedule agreement[No JIT/FRC] with lots of items, lets assume 100 line items Suppose 80 of these materials has open GR's [Release created] Now when i send Delivery schedules message[Print/Email] to vendor, it will have all 80 mater

  • Rejection of subcontract material to vendor without return of material.

    Dear friends, There are some subcontracted (semi finished) parts kept with us which were received from Subcontractor after their process. As usual at the time of GR, the raw material sent to them were consumed at our end and relavent labour charges w

  • User's changing their own password

    Is it possible to allow user to change their own password when logged onto a portal applicastion I have written ?

  • IPhoto cleanup processes?

    I loaded iPhoto today, and it seems to be using between 60% and 90% of the processor, just sitting there (I haven't done anything with it). I'm wondering if it is doing some sort of library cleanup or optimization. Anybody know anything about that? P