How do I resize a query when it displays

IS there a way to have a query resize automatically?  We have noticed that for some usere it opens up and it sin't centered or taking up the whole excel area

MICK,
you could do that in two ways...
1. Use the query property , the user can initially format it and then the same format is kept on any change by way of refresh.
2. Use a macro to size the columns using sapbex.xla!SapBexOnRefresh() ( I think I have not got the caps right in the function specified !!!)
Arun
Hope it helps...

Similar Messages

  • How to force an automatic query when first accessing a form?

    I have several forms on different tabs. When the first is queried, I save the key field. When the other forms start, they get the key with wwsto_api_session.load_session and store it in the form A_key.
    I want to have already performed a query when the user goes to the tab with the form on it. Can this be done? Is there a way to call doQuery from PL/SQL code?
    Gary

    Hello flöle,
    >>How can we prevent that and force the application to crash immediately when the unmanaged component fails?
    In my experience, this mechanism for wrapping the unmanaged expcetion should be by desiged since the .NET does not know these exception type. For handling unmanaged exception, the .NET provides a specific class:
    SEHException Class which is used to to handle unmanaged code exception in our managed code:
    https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.sehexception.aspx
    You could use this class to catch the unmanaged exception.
    Regards.
    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.

  • How to execute a update query when the particular date changes

    hi all,
    i am using date base 11.1.0.6.0,
    i am trying a small update query it should fire when particular date changes in year.
    i think for trigger but i didn't get how to execute it.
    Regards,
    Pavan

    Hi, Pavan,
    Use dbms_scheduler to run a procedure at a given time (or at repeatedly, at given times).
    A trigger is good for re-acting to certain actions in the database, someone INSERTing a row in a given table, for example. Nothing will necessarily be happening when you want your procedure to run, so a trigger is not good in this case.

  • How to construct a sql query when field having single quote

    Hi all,
    I have been working on web application , here is my requirement:
    I'm constructing sql statement dynamically from dynamic user input (form data). In one of the field having single quote.
    while executing the query it is getting problem because of single quote .. so how do i resolve my problem.
    single quote should be there. (I'm using Ms-Access as my database).
    Thanks in advance
    abel

    Use PreparedStatement. Always. It not only eases setting Java objects in a SQL query, but also protects you against SQL injections.
    Prepare yourself: [http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html].

  • How can i resize the icons when enclosing a file with safari

    With safari as well as with firefox it happens form time to time to enclose a file in the html page. There is a way to enlarge the icon preview ?
    thanks
    PS
    same is any dialog form to open a file.....must be a way to enlarge the icons i hope in the open file dialog from within photoshop rather than another application.
    thanks

    If the paths are open just click the intended end-point with the Pen Tool (P), add a point and delete it again.

  • How to determine a sql query size to display a progress bar

    I would like to show a progress of an sql query within a jsp page.
    Background:
    I have a reporting web application, where over 500 contacts can run reports based on different criteria such as date range....
    I current display a message stating 'executng query please wait', however the users (hate users) do not seem to wait, thereofore they decide to run the query all over again which affected my reportign sever query size (eventually this crashes, stopping all reports)
    Problem:
    The progress bar is not a problem, how would I determine the size of the query at runtime therefore adding the time onto my progress bar.

    Yes it's doable (we do it) but it sure ain't easy.
    We've got about 23,500,000 features (and counting) in a geodata database. Precise spatial selection algorithms are expensive. Really expensive.
    We cannot impose arbitrary limits on search criteria. If the client requires the whole database we are contractually obligated to provide it...
    For online searches We use statistics to approximate the number of features which a given query is likely to return... more or less the same way that the query optimiser behind any half decent (not mysql (5 alteast)) database management system does.
    We have a batch job which records how many features are linked to each distinct value of each search criteria... we just do the calculations (presuming a normal (flat) distribution) and...
    ... if the answer is more than a 100,000 we inform the user that the request must be "batched", and give them a form to fill out confirming there contact details. We run the extract overnight and send the user an email containing a link which allows them to download the result the next morning.
    ... if the answer is more than a million features we inform the user that the request must batched over the weekend... same deal as above, except we do it over the weekend to (a) discourage this; and (b) the official version ensure we have enough time to run the extract without impinging upon the maintenance window.
    ... if the answer is more than 5 million we display our brilliant "subscribe to our DVD service to get the latest version of the whole shebang every three months (or so), so you can kill your own blooody server with these ridiculous searches" form.
    Edited by: corlettk on Dec 5, 2007 11:12 AM

  • HT201412 How do I unlock my screen when it displays half and the half is blocked?

    My ipad was working fine this morning but now half the screen is blocked and it indicates in the upper right hand corner it is blocked but I didn't do anything to engage the blocked screen.   How do I unlock it when I can shut it down or reboot it?

    Just to be clear, you have to hold down on both buttons until the Apple logo appears on the screen, then you can let go of the buttons. You should not have to restart the iPad on your own. This should restart the iPad for you. Do not slide the red slider bar of you see it during this process, just ignore it and it will go away when the Apple logo appears on the screen.
    Did you do it that way and the iPad still will not boot up?

  • How can I create a query

    Hi BWers,
    How can I create a query, when the Customer run the report today he should see this month data.when the customer run the report for previous month he should see previous months data.How can I do this without going for Select options.

    Hi,
    If your customer run this report when he input a day in previous month, they want the whole previous month total data, you can use Replacement Path variable to get the previous month. If your customer run this report when he input a day in previous month, they want the data from 1st day to input day in the month, you can use customer exit variable to calculate 1st day in the previous month.
    When the Customer run the report today he can see this month data, those two type variables can do.

  • How to Use separate web template to a query, when default one is configured

    Hi,
       A default template is configured in SPRO. and all the queries display data using this template. Now I want to display a particular query result in a separed template that is customised to suit the need.
    how can I achieve it? When I customise template and attach query to it, it displays the result in this template, when executed from WAD. If I execute from Bex, The result is automatically displayed in the default template mensioned in SPRO.
    Please advise.

    If you want this template to be attached to this query alone - then you will have to have the same as a separate iView on portal.. when you execute from BEx the default template will get executed and by changing the default template all the queries will start using the default template... it is not possible for you to specify the template to be used when executing queries from BEx Query designer..

  • When I open a file in Photoshop CS4, how can I resize My Open Window File?it is stuck on full screen

    When I Open a File in Photoshop CS4, How can I Resize My Open Window File? It is stuck on Full Screen?

    Which operating system are you using?
    On a windows os, usually one can just double click on the title bar in the open dialog.

  • When i open my mail icon it takes up the whole screen.  how do i resize?

    when i open my mail icon it takes up the whole screen.  how do i resize.

    Have you tried dragging with the mouse pointer from the small, hatchmarked triangle at the bottom right of the window?

  • How to optimise the intermedia search query  when using contains?

    HI there,
    I have a query to search my database in two tables on eight columns. So that I have eight indexes which are in a different tablespace. Now I have written a query like
    select * from table1,table2 where
    contains(col1,'wordlist1', 1)>0 and
    contains(col2,'wordlist2', 2)>0 and
    contains(col8,'wordlist2', 8)>0 ;
    When I tried to execute this query, my databae is getting very very slow. As soon as I started the database its working fine, with in five munites of continuous checking, the database going to be slow. So
    How can I optimise my query? Is there any better way to search the database using intermedia?
    Any help or any sites list on intermedia searching utilities, other than the Oracle documentation is thankful.
    waiting...
    khaleel

    Thank you Thomas,
    I need some more from you...
    If I have 8 tables for 8 columns, then how do i proceed?
    Also could u tell me some query optimization techniques while working with intermedia text.
    Thanks you once again,
    waiting...
    Khaleel Hi Khaleel,
    I think this depends on your data model (relationship between the tables) and how you like to search later.
    The optimization begins also with the create index statement (memory clause and storage clause).
    If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
    Cheers,
    Thomas

  • How to keep scale for height when resizing width?

    Hi i have a serious of images different sizes/ ratios, which need to display at a fixed width of 50. Great works... but how do I resize the height to keep it at its original ratio?
    this.attachMovie(small_image, "number1_mcs" + loop , this.getNextHighestDepth(), {_x:50 + (loop*50),_y:300,_width:50,_yscale:?????????????});}
    many thanks in advance
    Dee

    Thanks for your help, being new, "terms", practices etc which others may fully understand, can fly right over ones head... It doesn't mean its impossible to understand them just grasping the exact meaning and then the specifics of any technicality can cause one to pull out more hair, especially when tired...
    I fixed the problem using the following... i hope its not too ugly..!
    Dee
    this.attachMovie(small_image, "number1_mcs" + loop_n1 , this.getNextHighestDepth(), {_x:75 + (loop_n1*40),_y:350});
    var aspect_ratio_x = this["number1_mcs"+loop_n1]._width;
    var aspect_ratio_y = this["number1_mcs"+loop_n1]._height;
    var aspect_ratio = (aspect_ratio_x / aspect_ratio_y);
    this["number1_mcs"+loop_n1]._width = 40;
    this["number1_mcs"+loop_n1]._height = this["number1_mcs"+loop_n1]._width / aspect_ratio;

  • How to cancel a query when execute query builtin fire and No Records found.

    Hi,
    I am unable to cancel a query when i make query (fire enter-query) then fire (execute-query) and no records found then the form status is enter-query mode. Plz help me that how can i back to normal mode of form.
    here i use the code for coming back to enter-query to normal mode but no results.
         if :system.mode = 'ENTER-QUERY' THEN
    ABORT_QUERY;
         clear_form;          
         END IF;
    thanks in advance....

    Hello,
    I would test the record status of the first record in the block. If this status is 'NEW', then there is no record retrieved, so that you can exit the query mode with exit_form()
    Francois

  • How to maintain video aspect ratio when resizing

    I am making a 30 second dvd intro of a dance recital video. I created 12 short clips that will be cuts between them.  I do not want them to be full screen. I want to apply an effect that makes the clip have frayed edges and it is resized very small. I want to make them bigger so they arennearlynhalf screen.  When I click and drag it, nothing keeps the aspect ratio. I held down the shift key, which usually works in all other programs but it had no effect. I tried other keys like alt but it was a no go. How do I resize without warping the video?

    I have nothing on this computer aside from Adobe and a few other audio apps. This is a dual Xeon 6GB system. I work in IT and am MS certified. I do not think it is the system. I am using AE CS6. =A0Keyboard is set to its defaults. I do not touch the keyboard mappings. The effect brings the clip down to 10% or so. How should it be resized? SHift - click and drag works in all of my apps like Photoshop, so it isnt the kb or the system. Is that the way it is supposed to be done in AE? If you have AE, are you able to try this to see what I mean?

Maybe you are looking for

  • 2 steps STO - Load Transfer Points

    Hi gurus, Could you please advise how we could manage below flow. We would like to have a kind of 2 steps STO in case we have to deliver from Plant A to Plant C (STO with vendor Plant A and as receiving plant, Plant C) but we have to transit by Plant

  • Oracle 11g certification in Developer track

    I would like to go for Oracle 11g certification in Developer track. I've already given 1Z0-051 paper. Is OCA 11g certification in Developer track now available. And if it is not currently available, I believe when it is going to be released the first

  • UI API emulate click on MessageBox

    Dear expert,   When the end user change the quantity field in order recommedation report(MRP).  The message box is shown. Now, i want to use use UI API to emulate the click action and answer this message box.  How could i do that??  I tried and check

  • HELP-LAST-QUESTION - FOR - NAT

    Dear All, I was reading my NAT Design Paper, because I am going to Implement NAT in My Company. Now, I want to ask you for only the Process of Static NAT , to allow External Users ? on internet side ? to ? access a specific server inside my LAN. Whic

  • Where can i find my network key?

    where can I find my "network key"?