Change prompt in fmt?

Hi,
How to change the associated prompt of a filed in fmt file?
Thx

this wont work for a pre 10 client.
there you can set the prompt manaualy and this is not dynamic.
make a login.sql
and place the following in the file.
column sqlprompt_col new_value sqlprompt_value
set termout off
define sqlprompt_value='NOT CONNECTED'
select sys_context('userenv','SESSION_USER')||case when sys_context('userenv','ISDBA') = 'TRUE' then ' as sysdba ' end ||'@'||sys_context('userenv','DB_NAME')||sys_context('userenv','INSTANCE') ||'('|| case when instr(sys_context('userenv','HOST'),'.')>1 then substr(sys_context('userenv','HOST'),1,instr(sys_context('userenv','HOST'),'.')-1) else sys_context('userenv','HOST') end ||')' as sqlprompt_col from dual;
set termout on
set sqlprompt '&sqlprompt_value SQL> '
after connecting sqlplus will look for a login.sql file in you present working directory or in its $ORACLE_HOME\sqlplus\admin directory.
if you reconnect is needs to be run again because it is not dynamic.
there is no workaround for pre 10g clients

Similar Messages

  • Report is not getting refreshed after changing prompts once again?

    HI,
    I am running some webi and deski reports using webi sdk also i'm handling the prompts of
    report.
    Problem is that if i ran the parametrized webi or deski report then my application shows the prompt page
    then i fill all the prompt for the report it shows the data for selected prompt values.
    But if i once again changed prompt values it shows data of previously selected prompt values not for
    the currently changed prompt values. means reports not getting refreshed.
    sometimes its work correctly.
    What will be problem?
    How can i resolve this issues?
    Please help me
    Thanks in advance
    Harshad

    The workflow is:
    1. Refresh
    2. Set Prompts
    3. Get View.
    then repeat.
    Are you refreshing before setting prompts?
    Sincerely,
    Ted Ueda

  • Change Prompt in Sql Plus

    Hi
    How can I to change Prompt in Sql Plus for to show Enviroment and user ?

    this wont work for a pre 10 client.
    there you can set the prompt manaualy and this is not dynamic.
    make a login.sql
    and place the following in the file.
    column sqlprompt_col new_value sqlprompt_value
    set termout off
    define sqlprompt_value='NOT CONNECTED'
    select sys_context('userenv','SESSION_USER')||case when sys_context('userenv','ISDBA') = 'TRUE' then ' as sysdba ' end ||'@'||sys_context('userenv','DB_NAME')||sys_context('userenv','INSTANCE') ||'('|| case when instr(sys_context('userenv','HOST'),'.')>1 then substr(sys_context('userenv','HOST'),1,instr(sys_context('userenv','HOST'),'.')-1) else sys_context('userenv','HOST') end ||')' as sqlprompt_col from dual;
    set termout on
    set sqlprompt '&sqlprompt_value SQL> '
    after connecting sqlplus will look for a login.sql file in you present working directory or in its $ORACLE_HOME\sqlplus\admin directory.
    if you reconnect is needs to be run again because it is not dynamic.
    there is no workaround for pre 10g clients

  • Change prompt background color

    Hi,
    I want to change prompt background color in dashboard,
    how to realize it?

    Hi alpha,
    page options->edit dashboard->select your prompt properties->modify->then can you see one box on the left in the head?
    click it->cell->background color->choose your color->click ok.
    thanks

  • Changing Prompt Order of Prompts defined at the universe level

    Hi All,
    I need to change the order of the prompts defined at the universe level.By default they appear in alphabetical order.
    Thanks,
    Shweta.

    Hi Shweta,
    If you are on XI R2 then you can try the following extended syntax for the prompt definition:
    @Prompt('Region', 'A', 'Class\Object Name', multi,free,,,User:0)
    @Prompt('Area', 'A', 'Class\Object Name', multi,free,,,User:1) ...etc
    Else there is no other way to sort the prompt in the desired order. Either you have to prefix the prompt text with numbers
    or alphabets.
    Regards,
    Rohit

  • Adobe Reader X (free) -- "Do you want to save changes" prompt

    Why is this prompt always coming up when I close a PDF document?
    "Do you want to Save Changes to  X   Before closing?"
    I am using the free Adobe Reader X 10.1.1.  I can't make any changes to the file since it's the free version, so why is it asking me to save changes?  Even if I just open the file and just close it right away without doing anything else the prompt comes up.

    I think pretty much any PDF created by CutePDFWriter did that (as well as others not created that way, but CutePDF seemed to do it reliably).
    To verify that I'd have to un-install 9.5.0 and re-install Reader X, which I'd rather not do (9.5.0 is better in other ways too - the integration with Chrome is nicer because the "print" and "save as" buttons always appear; they hardly ever appeared in Reader X when opening a PDF from Chrome).
    You can get CutePDFWriter here: http://www.cutepdf.com/products/cutepdf/writer.asp
    Let me know if you can't reproduce the problem (just post here) and I'll un-install/re-install, verify a file with the problem, and post it.
    For now I'm very happy with Reader 9.5.0; it's perfect.

  • Repeated 'mac OS X wants to make changes' prompt

    In the last few days, I have started seeing a really annoying problem.
    Some apps (e.g. Shrook) have now started displaying the prompt
    Mac OS X wants to make changes.  Type an administrator's name and password to allow this.
    Mac OS X wants to use the "System" keychain.
    Username:
    Password:
    Now, I am used to seeing this occasionally when I run some app that indeed needs to do something requiring admin privileges.  But in the case of Shrook, this will happen 10-15 times in quick succession.  It also happens on other apps - and the common factor seems to be the use of embedded browser capabilities (I guess web kit plugin or something like that).  For example, another app that shows this behaviour is F5 BIG-IP Edge Client - again, I might be prompted 10-15 times during login, and it has an embedded web page in the UI.
    This behaviour seems to have just happened (well, in the past couple of days or so)
    Interesting things about it:
    The username field in the prompt is empty - whereas previously, when this prompt occurred (rarely) it contained my (long) User name
    It seems to happen when the app is trying some sort of network/web access - probably in connection with HTTPS and hence keychain access
    I see the same behaviour in Safari when I end up using a client certificate (using HTTPS) to connect to a remote web server (when I might get the prompt 2 times or so).
    NB: The multiple prompts are NOT caused by me entering an incorrect user/password - that is easy to distinguish because the prompt will 'shiver' if I do enter an invalid combination, and will leave the username/password in the fields ready for me to correct them
    It seems to me that the app doesn't seem to know who it is running as - hence the empty username field.
    - chris

    I just solevd it :-)
    I went to keychain access and reset my default keychain ...
    After a system reboot and some certificate reimports, everyting is now fine.
    Maybe my key chain got messed up?
    Anyway, a reste on the keychain worked a treat ...
    - chris

  • Change prompts

    Hi,
    Is it possible to change the prompts before scheduling a Desktop Intelligence document
    using the java API.
    Regards,
    Nic

    Code sample:
    <%@ page import = "com.businessobjects.rebean.wi.*,
                       com.businessobjects.sdk.ceutils.prompts.PromptsUtil,
                       com.businessobjects.sdk.plugin.desktop.fullclient.IFullClient,
                       com.businessobjects.sdk.plugin.desktop.fullclient.IFullClientFormatOptions,
                       com.crystaldecisions.sdk.exception.SDKException,
                       com.crystaldecisions.sdk.framework.*,
                       com.crystaldecisions.sdk.occa.infostore.*"
    %><%
        //============================================================================
        // Log on and retrieve report from Enterprise
        //============================================================================
        LogonForm logonform = new LogonForm(response, request, LogonForm.NONE);
        if(logonform.display_if_needed())
              return;
        eSession = CrystalEnterprise.getSessionMgr().logon(logonform.username,
                                                           logonform.password,
                                                           logonform.cmsname,
                                                           logonform.authType);
        IInfoStore iStore
            = (IInfoStore) eSession.getService("InfoStore");
         ReportEngine reportEngine
            =  ((ReportEngines) eSession.getService("ReportEngines"))
                                        .getService(ReportEngines.ReportEngineType
                                                                 .FC_REPORT_ENGINE);
        IInfoObjects objs = iStore.query("Select TOP 1 * From CI_INFOOBJECTS Where "
                                          + " SI_KIND='FullClient' And SI_INSTANCE=0 "
                                          + " And SI_NAME = '" + reportName + "'");
        //============================================================================
        // Open Webi document, then get and set Prompts collection
        //============================================================================
        IFullClient      deski   = (IFullClient) objs.get(0);
        DocumentInstance di      = reportEngine.openDocument(deski.getID());
        Prompts          prompts = di.getPrompts();
        for(int i = 0, m = prompts.getCount() ; i < m ; i++) {
              Prompt prompt = prompts.getItem(i);
            String name   = prompt.getName();
              if("Select State(s):".equals(name)) {
                Lov lov = prompt.getLOV();
                   lov.refresh();
                Values values = lov.getAllValues();
                prompt.enterValues(new ValueFromLov[] { values.getValueFromLov(0),
                                                        values.getValueFromLov(1)});
            } else if ("Floor space greater than:".equals(name)) {
                prompt.enterValues(new String[] { "1500" });
        //===========================================================================
        // Copy prompts over to InfoObject
        //===========================================================================
        PromptsUtil.populateFullClientPrompts(prompts, deski);
        //===========================================================================
        // Schedule Deski report to run once now
        //===========================================================================
         deski.getFullClientFormatOptions()
             .setFormat(IFullClientFormatOptions.CeFullClientFormat.FullClient);
        ISchedulingInfo schedInfo = deski.getSchedulingInfo();
        schedInfo.setRightNow(true);
        schedInfo.setType(CeScheduleType.ONCE);
        iStore.schedule(objs);
    The cream is the PromptsUtil.populateFullClientPrompts to pass the prompts from ReportEngine SDK to the Enterprise SDK.
    Sincerely,
    Ted Ueda

  • Changing Prompt Button Name "Go" to "Apply"

    Hi,
    I want to change the prompt button name from "Go" to "Apply".
    How to achieve this?
    Thanks,
    Satheesh

    Hi, you can refer to http://bischool.wordpress.com/2009/07/18/change-go-button-name-of-obiee-dashboard-prompt/
    or
    http://www.obinotes.com/2010/09/change-go-button-text-in-prompt-only.html
    I hope this helps.
    J.-

  • How can we change Prompt  default values based on other prompts....

    Hi Experts,
    I have a prompt Status --> DAILY,WEEKLY and MONTHLY.
    If user selects any one of this value the default value in another prompt Startdate and Enddateshould change,Here Startdate and Enddate is Editbox/calander control.
    Declared the presentation variable in first prompt and in the second prompt of SQL Results(Default to) i am writing
    +SELECT CASE WHEN '@{Pres}='WEEKLY' THEN VALUEOF(VAR_WEEKLY) END+
    but in the default one it was not showing the Repository variable value...
    Please suggest me any solution its an urgent
    thanks,
    saichand.v

    Hi Saichand,
    Are you getting an error ("Error Generating Drop Down Values")? Or are you just seeing a blank default value?
    If you are getting an error, do you have any presentation columns in your default SQL formula? If not, that's your problem. OBIEE won't let you construct a logical SQL query without having a presentation column in it somewhere.
    If this is your issue, try the following: SELECT CASE WHEN 1=0 THEN <PRESENTATION_COLUMN> WHEN '@{Pres}'='WEEKLY' THEN VALUEOF(VAR_WEEKLY) END FROM <SUBJECT_AREA>
    Be sure to replace SUBJECT_AREA and PRESENTATION_COLUMN with appropriate names. The condition 1=0 will never evaluate to true, so it's as if it's not there, but OBIEE will see that there's a presentation column in the formula and stop giving you the error.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Outstanding changes prompt

    Dear All,
    I have a scenario like this. A user is on a web page that lets him o add/edit. He/She doesn't save the changes, and navigate to somewhere else. His changes will gone. So I want a message, that tell the user to save the changes, if done any chnages on thge page. is there any code that can be reusable on any page.
    Regards,
    Resmi.

    Resmi,
    [url http://stegemanoracle.wordpress.com/2006/03/04/a-re-usable-prompt-to-save-changes-component/]here is one approach that I blogged about a few years back.
    john

  • Change Prompt of messageTextInput based on PPR Event

    Hello:
    I want to dynamically change the prompt based on a PPR event, I thought of using SPEL for this but looks like Prompt cannot be changed based on SPEL.
    Can you please suggest a way to achieve this?

    Hi:
    Thanks for the response....I was thinking of the same, but redirecting to the same page will have a cost implication right? as it has to render the same page again?
    Also, when I am trying this in ProcessFormRequest where I handle the PPR event, I am getting Developer Mode error...so seems like I can change the prompt only at ProcessRequest....let me know if my understanding is correct.
    Regards

  • Changing prompt position in combobox?

    Hi
    I  change the height of my comboBox to fit with what I need.
    Now the text in the prompt is sitting too low.
    I was wondering if it's possible to alter the y attribute of the prompt, and where in the component you would find it?
    Thanks
    Shaun

    Yes,
    Actually, I have to display a '1' or a '0' in one of my report depending on the difference between requested quantity and ordered quantity. I created a calculated ratio :
    ( req_qty-ord_qty == 0 ) * 1
    That works fine at a detailled level (request doc number).
    When I display on agregated levels, it doesn't sum the '1', but it does the difference between the sum of req_qty and the sum of ord_qty.
    So I tried to calculate it during the transformation. That works for Doc Number with one Item.
    I don't want the Item dimension in my infocube. Hence I want to sum the req_qty and ord_qty of the different items of a doc number before testing my condition.
    Here is the code:
    LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
      AT NEW DOC_NUM.
         CLEAR v_diff.
      ENDAT.
    v_diff = v_diff + <RESULT_FIELDS>-/BIC/RQTEDHA - <RESULT_FIELDS>-PO_QTY.
    AT END OF DOC_NUM.
       IF v_diff EQ 0.
       <RESULT_FIELDS>-/BIC/ZCOMPTEUR = 1.
       ENDIF.
    ENDAT.
    ENDLOOP.

  • Passcode change prompts

    Hi, I have an iPhone 5 with the latest software version but have an annoying 'problem'. Every couple of months I am prompted to change my 4 digit passcode. This is only an issue as I have come close to locking my handset when I can't remember my new password. I have had my iPhone since September 2012 but this did not start happening until about feb/march of this year.
    I cannot find anything in the security settings that I have activated to make my phone start doing this.
    I am wondering if it is an iPhone security feature on the most recent software upgrade or if it has something to do with an app called Password Keeper that I installed around the same time as the problem started.
    I'd be grateful for any help/support as I cannot find anything rarely similar when I google it.
    Thanks in advance

    You're a genius!!! In March I set up my NHS.net email and calendar to come through to my phone and i remember it being through 'exchange'. I stopped the emails coming through after a few days due to the sheer volume of mail I was getting but I kept my Microsoft outlook calendar associated with that email address syncing to my phone as I found it useful. My NHS.net account makes me change my password every 60 days so it all makes sense now!!
    Thank you soooooo much for solving something that has been driving me bonkers for the last 6 months :-D

  • Scheduling with AO Workbook - changing prompt values

    I saved and AO workbook on the BI platform, scheduled and executed.  The query has month and year prompts filled by exit variables.   I change the user exit for a different month year.  I schedule the workbook on the BI platform, but the workbook still has the same month & year when it was saved.  Is the expected result?

    Hi John - please see this blog:
    http://www.mastering-sap-and-businessobjects.com/scheduling-with-sap-businessobjects-analysis-edition-for-microsoft-office/
    According to the blog, prompts are not yet supported with scheduling.
    Tammy

Maybe you are looking for

  • Can I retrieve a pasword from my mail client

    I changed my email pasword, and forgot it.  My iPad and iphone still have access to the account.  I did not set up any of the retrieval information with the email provider.  Is there any way I can get either of my devices to give up the pasword>

  • Why can't I see my list of Contacts in Address Book?

    I can access my contacts one at a time but cannot see the whole list whether I'm in On My Mac or iCloud.  I used to be able to see all of them; anyone know how to get that back?  Thanks.

  • BI7 Business Explorer Installation Problem

    I am new to BI, after install SAPGUI Front End and SAPBIGUI and then install BI7.10 Business Explorer 1000 patch. However when I go to Program -> Business Explorer -> Analyzer, an Excel pop up, click on the Bex Toolbox ("xxxBEx Analysis Toolboxxxx")

  • Installation of BI-BPS Business Content

    Hi All,       I have installed business content for BPS Business Content Cubes :       Average Prices for Sales and Profit Planning : 0SEM_C10    while installing the content i have made sure that "before and after data flow" option was used.      In

  • Why does elements 11 not recognize nikon nef files

    I have been using Elements 11 for quite a while for Canon Raw files with great success. It really works fine for me. I recently bought a Nikon D300. For some reason Elements 11 will not recognize the Nikon NEF raw files. W H Y ? ? ?