Ole2.set_property(worksheet,'Zoom',75); is not working in forms 6i

All,
I am not able to set the excel worksheet zooming size to 75% by using ole2.set_property(worksheet,'Zoom',75);
even by using the above it is generating the excel worksheet with 100% zoom.
Please suggest me alternative solution to resolve this issue.
reg,
Guptaj

Hi,
I tried in the above scenario, but no use.....
here is the code i am using.....
Procedure OpenWorksheet(Worksheetname varchar default NULL) is
Begin      
          --Open Excisiting Excel Sheet
     If Worksheetname is not null Then           
     Arg := ole2.create_arglist;
     ole2.add_arg(Arg,Worksheetname);
     WorkSheet := ole2.get_obj_property(Workbook,'WorkSheets',Arg);
     ole2.add_arg(Arg,70);
     ole2.set_property(WorkSheet,'Zoom',Arg);
     ole2.destroy_arglist(arg);
     Else
          Arg := ole2.create_arglist;
          ole2.add_arg(Arg,70);
          WorkSheets := ole2.get_obj_property(Workbook,'WorkSheets');
          Worksheet := ole2.invoke_obj(Worksheets,'Add');
          ole2.set_property(WorkSheet,'Zoom',Arg);
          ole2.destroy_arglist(arg);
     End If;
End OpenWorksheet;
stiil no use....

Similar Messages

  • Ole2 commands not working in forms 10g

    OLE2.set_property(Application, 'Visible', true);
    above statement not working in forms 10g;

    Try to use the OLE2 fuction from WEBUTIL library. There is function in webutil CLIENT_OLE2.
    -Ammad

  • SQL Code not working in Forms Developer?

    Hi all,
    I'm using Oracle 10g and I have th following code running on iSQL+ but not working on Forms and I got the following erro
    The SQL code:
         select returningreason
            from (
                     select returningreason,
                     dense_rank() over (partition by 1 order by count(*) desc) as drnk
                     from returned_goods
                     group by returningreason)
           where drnk = 1;And the error happens near the word over to the right and the error statement is:
    Error 103 at line 18, column 19
       Encountered the symbol "(" when expecting one of the following:
             , formThanks in advance :)

    Triggers are compiled in forms so need to use only the features available to forms, which doesn't include all the new stuff in the database.
    select over partition
    NVL2They don't work in forms and reports too.
    Also if you use them in record Group
    Forms/SQL Compiler was not lined up to the database(10G).
    Meanwhile,for example. Pipelined TABLE and relative Select work in Reports AND Forms.

  • Staroffice 8 Zoom Shortcut keys not working

    (Solaris 10, Staroffice 8 U3 rev 2, Sunray)
    The shortcut keys for zoom in Drawing and Presents used to be the "+", "-", "/" and "*" keys (with num lock ON).
    The issue:
    The + and - keys still zoom in and out, but the / and * keys no longer zoom anything
    What I am expecting:
    The "/" should zoom to the "selection" and the * key should zoom to the page
    Notes:
    - the "zoom" button is enabled in a toolbar, and it changes to the appropriate "icon" when I hit the / and * keys, but nothing happens to the view
    - I have tried this with different keyboards.
    - I have tried this on openoffice on a mac, with similar results
    Could this be a bug, or is it something i'm missing?
    Cheers,
    - jd

    Also the toolbar icons are not working as expected.
    When I'm pressing zoom-in or zoom-out the position of the worksheet is shifting to another coordinate.
    Zooming in to a specific point is not possible, so I have to zoom-in first and then reposition the worksheet next.
    Zooming out also ends up with an extra repositioning of the worksheet.
    DM is 3.1.1.703, OS is windows 7.
    Any feedback if this is reproduceable on other installations.
    Walter

  • Macbook Pro Pinch/Zoom feature does not work with Firefox 6

    Can someone please tell me how to fix this major problem?
    I can not get the Pinch/Zoom feature on the track pad to work on my Macbook Pro. I am running OS 10.6.8.
    I have seen this below in other posts, and have tried it, but it STILL does not work !!!!
    '''''Some gestures have been removed in Firefox 4.
    '''You can restore the zoom feature by changing the values of the related prefs on the about:config page.
    '''browser.gesture.pinch.in -> cmd_fullZoomReduce<br>
    '''browser.gesture.pinch.in.shift -> cmd_fullZoomReset<br>'''
    '''browser.gesture.pinch.out -> cmd_fullZoomEnlarge<br>'''
    '''browser.gesture.pinch.out.shift -> cmd_fullZoomReset<br>''''''
    '''To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.'''
    '''If you see a warning then you can confirm that you want to access that page.'''''''''''
    Please someone help me - this is a great feature and its really pissing me off that I can't use it.
    HELP !!!

    I'VE TRIED THIS:
    browser.gesture.pinch.in -> cmd_fullZoomReduce
    browser.gesture.pinch.in.shift -> cmd_fullZoomReset
    browser.gesture.pinch.out -> cmd_fullZoomEnlarge
    browser.gesture.pinch.out.shift -> cmd_fullZoomReset
    browser.gesture.pinch.latched -> false
    I'VE TRIED ALL OF THE ABOVE NUMEROUS TIMES AND IT DOES NOT WORK ON MACBOOK PRO AND FIREFOX 6.
    CAN ANYBODY HELP? THANKS ♥

  • Finder: Zoom slider is not working

    Hi Friends.
    If I open a new finder window, the zoom slider is working in the symbol view. But if I change to the column view (Apple-3) and back to symbol view, I can slide the zoom slider how I want, the zoom is not working.
    Unfortunately it happens not always, but most of the times.
    Any ideas?
    Thanks!

    I can replicate the same problem; hadn't noticed that before, since I almost never use Column view.
    I did find that if I go from Column view to List view and then to Icon view, or even switch from a misbehaving Icon view to List view and back again, the problem has gone away.
    By the way, that's not a zoom slider - if you look carefully while you slide it, the text of the filenames does not change size, which it would do if it were truly a zoom function. It is, instead, an icon size control function.
    I will file a report on this.

  • The zoom function is not working with lenovo A700 computer

    I have a lenovo A700 desktop computer with a touch screen interface. I recently downloaded the newest version of Firefox (4.0.1) and now the touch screen zoom in/out function with webpages is not working. This function is working with IE8 on the same computer so there seems to be something wrong with Firefox. It was working with the previous version of Firefox as well. Please help, thanks.

    jotan832,
    Have you tried restoring the iPhone and setting it up as a new phone? Sometimes these issues can be software based. More information on the restore process can be found here: http://support.apple.com/kb/HT1414
    To set up appointments for the Apple Store online, visit http://www.apple.com/retail/ to locate your store website, then choose the Concierge.
    Hope this helps,
    Raleigh

  • Zoom-to-fit Not Working in Preview, & other features, too.

    I recently upgraded to Snow Leopard, and have since found that Preview is not working properly. This is something I use almost every day, & it not working has created a real disruption to my work-flow. I've noticed that others have complained about this, and have been doing so since at least October of 2009! Apple has obviously not addressed this, as I've done all the updates, and still it doesn't work. The Zoom-to-fit won't work, altho it sometimes will when there's only a little bit of space left, & sometimes when the image is too big, it may reduce. However, the "automatically resize" doesn't work either, and some other features work erratically as well. Sometimes when I change the resolution of the picture, it will zoom to fit, & sometimes well, so many things don't work, or do, but so rarely, I can't even remember all the instances.
    Does anyone actually have some kind of work around, or solution? I've done the trash all the preferences, etc., which didn't do anything, and am stumped at this point, thanks...

    Tom Gewecke wrote:
    does Apple really know about this, and are just ignoring it or are they working on a fix, or ?
    Surely you understand that you are not talking to Apple here, just other users like yourself. Whether Apple knows about it depends on whether you or someone else has used the bugreporter or feedback channel to tell them. As for what action they are taking, nobody here is ever going to be able to give you an answer.
    Yes, I do understand that, and my question was in response to being told that
    "Preview in SL is broken", by one of the "experts" when I posted my own thread about it not working properly. To me, that response implied this was a known condition, & that this person knew that Apple knows, & since this was all he said, w/no other advice, it further implied that a fix would come out whenever it will, and there's no use in pursuing it further. So, my question was to anyone else to affirm or deny that is or isn't the case.
    Plus, I've read that in fact, some employees of Apple do contribute to the discussions (as they surely should, if for no other reason, that what I just spoke of, to let us know when an issue is a known one, thus nothing else can be done until Apple releases a fix; thus preventing users from wasting time &/or screwing something up worse, attempting to fix it)
    Does Adobe Reader provide a possible replacement for Preview for your purposes?
    Don't know, I'd rather not have to open it for all the times I would simply use Preview, why have it as part of the OS if it doesn't work? I'd think Apple would fix it, or not show features it can't do. That said, your question is actually the first response I've seen yet, that at least is a possible work around, thank you.
    (another thread on the same issue was marked "answered" & closed, despite no one having offered up a fix),
    How a thread is marked is totally up to the person who started it. If you have a problem with how it was done, you need to take it up with that person I think.
    I will, but it's not the person who closed the thread, as that was done nearly two months after it was marked "Solved". And yes, it could have been archived due to no further comments, although we've no way of knowing, since there's no date of archiving shown. And that is what I'm wondering, did Apple just close it, to avoid the topic being taken to the top of the list? If this feature is broken, why haven't they fixed it, now nearly a year later???
    And I have personally reported this in several feedback forms. I refuse to sign up for the developers group, just to file a bug report, since I would have to answer all the questions in the application form without knowing what the heck I was talking about, since I am hardly a developer/programmer, techno-geek, etc., and shouldn't have to jump through all those hoops, just to report to Apple that something's screwed up! I can send bug reports via Safari w/o signing up as an advanced computer engineer, why should I have to for reporting the same with Preview? If Apple chooses to ignore feedback reports, as well as their discussion boards, then what real customer service would that be?

  • Help is not working in Form Builder 6i

    Hi all,
    I'm using Forms builder 6i in Windows7 system. When i go to Help menu and click 'Form Builder Help Topics' a error message is coming.
    I've reinstalled it many times. In Windows XP system it's working fine. Why it's not working in Windows7?
    Any suggestions??

    Check this:
    http://support.microsoft.com/kb/917607
    Regards

  • TABLE_FROM_BLOCK is not working in forms 10g ??????

    Hi all,
    How to use TABLE_FROM_BLOCK in forms 10g. its working in forms 6i .
    the same form is not working in 10g . i got this error.
    frm-40933 Cannot populate table because datatype is incorrect.
    pls help me
    Regards
    Gopinath M

    According to Metalink's Developer 2.1 Release Notes (Doc ID #90090.1), section 4.2.1, "TABLE_FROM_BLOCK Built-In":
    DO NOT use the TABLE_FROM_BLOCK built-in described in the
    documentation. It is reserved for internal use only. No support
    for this built-in will be provided under any circumstances.
    If you used this built-in, you will need to recode your from(s) for 10g.
    Message was edited by:
    Mark Roberts

  • Button based on data is not working in form/ report / region

    create or replace procedure "BUT2"
    is
    begin
    declare
    cursor c1 is select plot_id,plot_status from re_plot;
    tno number;
    v1 varchar2(500);
    c2 c1%rowtype;
    begin
    open c1;
    loop
    tno := nvl(tno,0) + 1;
    fetch c1 into c2;
    exit when c1%notfound;
    if c2.plot_status='BLOCKED' then
    v1 := v1 || ' ' ||'<input inline type =submit style="color:BLUE;background-color:RED" value='||c2.plot_id||'>';
    else
    v1 := v1 || ' ' ||'<input inline type =submit style="color:ORANGE;background-color:GREEN" value='||c2.plot_id||'>';
    end if;
    if mod(tno, 4)= 0 then
    --v1 := v1 || '<br/>' || ' ';
    htp.p(v1);
    v1 := null;
    end if;
    end loop;
    close c1;
    htp.p(v1);
    end;
    end;this above procedure works fine in SQL Command browser. I am unable to make it as page form / report.
    My requirement is i want to bring this images in form / report. Based on click button, the value need to be parsed to other page?
    how to do it?
    yours
    andi_raj

    is not working Insufficient information. In what way is it "not working"? The page doesn't render as required? There's an error message? The browser crashes? The server room has been trampled into dust by a herd of buffalo?
    >
    I am unable to make it as page form / report.
    v1 := v1 || ' ' ||'<input inline type =submit style="color:BLUE;background-color:RED" value='||c2.plot_id||'>';
    ...It is not possible to generate form elements in an APEX page in this way. The [APEX_ITEM API|http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#CACEEEJE] is the only way to create APEX items in PL/SQL. However it contains no procedures to generate button items, so an alternative design is required in this case, e.g. a report with links.
    (Also what is the intention of "inline" in the above code? [There is no *inline* attribute|http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.4].)

  • F7 & F8 key is not working in forms 10g

    Dear all,
    I am working with oracle application version 10.1.2.3.0, installed on windows server 2003 and database 10gR2 on windows server 2008. When i open any form and tries F8 / F7 to executed & enter
    query, its not working. But its owrking with with F11 and shitp + F11. I want to use F7 & F8 for enter/execute the query. I have same another same environment with same configuration, there F7
    & F8 is working fine. To enable these keys i rename fmrpcweb.res to fmrweb.res. But guide me with your sincere suggessions & experience.
    Regards,
    Ahmed.

    According to Metalink's Developer 2.1 Release Notes (Doc ID #90090.1), section 4.2.1, "TABLE_FROM_BLOCK Built-In":
    DO NOT use the TABLE_FROM_BLOCK built-in described in the
    documentation. It is reserved for internal use only. No support
    for this built-in will be provided under any circumstances.
    If you used this built-in, you will need to recode your from(s) for 10g.
    Message was edited by:
    Mark Roberts

  • Enter key not working in forms 10g

    Hi guys,
    Enter key to select a form is not working
    on my application.
    I have to double click the form to open it using the mouse.
    Then if we try to exit we have to press exit that many number of times as we have pressed enter key.
    So it seems to be storing the key processes.
    We are using forms 10g.
    Please help.
    Thanks and Regards,
    Rohan

    Fixed.
    Changed KB.
    However, this is still strange as the old KB was working fine in other applications.

  • SQL (Reverse) not working in Forms 6i

    Hi:
    Env 6i c/s 8i DB.
    SELECT REVERSE ( '321' ) FROM DUAL works in SQL*Plus but does not accept the REVERSE function from within a Trigger. I could put the logic in a Package on the DB but I'd like to know why it does not work in F6i ?
    Thanks
    N.

    Forms 6i uses an older version of PL/SQL than the database, so it does not recognize the newly introduced function. You will need to create a database function to call from the form.

  • MAXIMIZE WINDOW DOES NOT WORK IN FORMS 9i

    Hi,
    I am performing forms conversion and developing new forms in Forms 9i. The problem I am running into is that :
    the SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE)
    and SET_WINDOW_PROPERTY(ROOT_WINDOW, WINDOW_STATE, MAXIMIZE)
    in the When_new_form_instance trigger don't work.
    I've also tried adding a parameter to initiate the running mode as WEB as suggested in a response that I saw on this
    forum, with that parameter I would set the ROOT_WINDOW State to NORMAL
    then set WIDHT=800, HEIGHT=600, POSITION=0, 24.........
    but it still does not work. When I run the form, the browser opens up as a full screen, but the form only fills up the gray rectangular
    area when the Jiniator is running and loading the applet.
    If I don't set the Maximize property of the main window to Yes then the vertical and horizontal scroll bars are automatically added,
    if I do set so then no scroll bar is added and the form is cut off.
    Is it a known problem ? and is there a solution to it?
    Any response is greatly appreciated.
    Thanks.
    TLe

    Thanks, it worked, and I've been playing with other parameters, such as replacing the lookandfeel (this works), but splashscreen and background don't when I specified the .GIF file name, it did not display the GIF image.
    Thanks again.

Maybe you are looking for

  • Lync 2013 OCT deployment on machines with Office 2010. Installation Failure

    Hi, In our environment, we have Win7, Office 2010 x86. (no plans to upgrade all of Office to 2013 as yet) I'm trying to deploy Lync 2013 x86, and have packaged an MSP using "setup /admin" for later deployment via SCCM. Now I know there are no problem

  • Why is the 'Straighten' tool so crude?

    Ok, it does what 'it says on the tin', fair enough. But ANY deviation from the original using the straighten tool softens the image drastically. This can be seen by slowly moving the slider back to the 0 position : you will see the image suddenly cri

  • Color rows in ALV

    Hi, I want to color alternative rows in ALV when I dsiplay the ALV. How can I do this? Regards, Vishal.

  • Restrictions Passcode Failed Attempts

    I have heard that when I try to enter my restrictions passcode too many times(when it is incorrect of course) ilol eventually have to restore it to factory settings. Isn't this quite a silly idea? you'd think Apple would give the person in charge of

  • Onyx Blackbird not working w/Mavericks

    hello, i upgraded to mavericks last week and my onyx blackbird 16x16 is not responding. it plays fine for about 30 seconds and drops out.  rebooting the machine and turning the blackbird on and off get the same response.  30 seconds and out. is anyon