On Lexical variables: Are they always treated as user parameters???

Hi
Report Developer 10g, Winodws XP platform, local client
I have a dynamic where clause in my report query with a lexical variable &p_where which holds the where clause. This where clause is determined at runtime, depending on the user parameter value that was entered.
My problem is, the lexical variable &p_where is automatically added to the list of my user parameters and does show up in my parameter form, when the report is run. This will cause lot of confusion to the user, as it is not part of user input.
It is not a user parameter, but should be treated as a regular variable. How do I work around this?
Thanks
Suma

I understand. The lexical variable was automatically added to the user parameters list upon it having appeared in a query.
This is expected. The lexical variable must be defined. Since it is not a system parameter, Oracle*Reports added it to the user parameter list.
But if it is also showing up on your user parameter FORM (the form which solicits input from the user prior to running the report), it can simply be deleted from that form without affecting its use in the query.
Regards,
Steve

Similar Messages

  • MacBook Pro email issues why are they always offline??

    this computer only a year old and frequently my Gmail and Yahoo accounts are always Offline Why???

    Try turning Find My iPhone and Find My Mac off in settings, then back on.

  • What are these ports 989, 1021, 1033 and why are they always ON?

    I have noticed unknown network traffic on Activity Monitor, even I close all application, AM still shows there's about 1~2 KB (Data received).
    So, I open a Terminal and check by 'netstat' command. I notice there's some unknown tcp connections established. Is there anyone know what are these ports, and is it normal to have them ON all the time ?
    $ netstat -n | grep EST
    (..omited)
    tcp4 0 0 127.0.0.1.1033 127.0.0.1.989 ESTABLISHED
    tcp4 0 0 127.0.0.1.989 127.0.0.1.1033 ESTABLISHED
    tcp4 0 0 127.0.0.1.1033 127.0.0.1.1021 ESTABLISHED
    tcp4 0 0 127.0.0.1.1021 127.0.0.1.1033 ESTABLISHED

    These ports are some of those used by the NetInfo subsystem which keeps track of your computer's users, groups, and some other information about its configuration. Since the IP addresses listed for those connections are all 127.0.0.1, your computer is connecting to itself; having these open isn't a cause for concern.
    (16141)

  • Read receipts in iMessage - are they always accurate?

    Are read receipts 100% accurate using iMessage from iPhone to iPhone both running iOS 7? I sent a message to my partner I sat and watched the report go from 'delivered' to 'read' a few seconds later. She claims she didn't read the message till the next morning, hours later. So is she lying, or does iMessage get it wrong &  say it's been read when it hasn't?

    Get together with both iPhones in one room and watch both screen while you send and receive iMessages.  See for your self when your iPhone receives a Delivered and then a Read response from her iPhone.  Just to make the experiment a little more interesting, you might have the last action on her phone was reading an iMessage from your iPhone.  Now set her iPhone down and send it another iMessage ...what happens with regard to the responses your iPhone receives? 

  • For itunes 11: movie that are not purchased via itunes are loaded into and catagorized as "home videos". I want all of my movies in one spot under Movies as they always were. How can i tweak this?

    for itunes 11: movie that are not purchased via itunes are now loaded into and catagorized as "home videos". I want all of my movies in one spot under Movies as they always were. How can i tweak/resolve this?

    Cdaver wrote:
    I have this issue too and want the same result, another feed suggests selecting the movie, going to get info, and changing this under options, but I suppose you have to do that movie by movie.
    You can select all the movies you want and change them at once.

  • Web Variables are being displayed and they shouldn't be

    Hi, Our web template is configured to not present the variable screen when the variables are populated. For some reason after I added the dynamic tab functionality using the SAP_BW_URL command our variables screens are appearing after selecting a tab.  When the screen appears all of the variables are populated and some of the variables are not melted.  The only thing our SAP_BW_URL command does is reset a dataprovider.
    <i><A href="<SAP_BW_URL DATA_PROVIDER='DP1' CMD='RESET_DATA_PROVIDER' INFOCUBE='ZMPASDPL' QUERY='ZGZMPASDPL_SR21_AREA_DASH_01' CMD_1='ITEM=NAV_BRAND&HIDDEN=X' CMD_2='ITEM=CON_BRAND&HIDDEN=X'>">Sales Area</A></i>
    We have set our template to "Reset Variables to Default" and "display same variable only once".
    Anyone know why I am seeing the variable screens after I select a tab even though I have the correct settings and the variables values are all prepopulated?
    I will give full points from now until eternity for this to any kind soul helping me solve this one.
    Thanks!
    Message was edited by: Kenneth Murray

    Hi Kenneth,
    this is a tricky situation:
    just assume the following scenario (this is what I have seen when I had a glimpse  on your original post)
    - In your template you have 2 DataProvider DP1 and DP2
    - DP1 is assigned to a table item and points initially to some query (A)
    - DP2 is not assigned to a web item and points initially to some query (B)
    - Query B has some mandatory variable
    - Now when you call your web template the variable screen will be displayed (Variable for DP2 (query B))
    - You enter a value and submit the variable screen
    - Now you reset DP1 to another query (ok it's query B (which you already used as DP, but the system won't check this while resetting the variable screen). Now the (new) query has a unfilled variable. The system needs to bring up the variable screen.
    - As we have now 2 variables (one already filled (during start of your template) and one still initiall. They have different default values and won't be melted.
    - You get a variable screen with 2 variables
    - And they just have the same value, because the system remembers the last entered value and already writes it in the input field.
    The parameter reset variables to default is only relevant for views (mainly during first initialization of template). With your command you didn't change DP2.
    =================================================
    Solution: In BW 3.5 there's a possbility to pass filters and variables to another Query with the command RESET_DATA_PROVIDER (parameter rri=X)
    in BW < 3.5 I would recommend to not use RESET_DATA_PROVIDER, but creating different table items, which are initially hidden and just hide/unhide the correct tables ...
    Heike

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • I lost my numbers documents where are they please help me

    I lost my numbers documents where are they please help me

    Hi and Welcome to the Forums!
    Report it to the police. Report it to your wireless service provider. Attempt to use BB Protect to wipe it clean. Outside of that, there is nothing to be done. If your personal issues prevent you from carrying this out, then you must consider all of your data on your BB to be compromised.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Why local variables are stored on stack?

    Hi,
    Can anyone tell why local variables are stored on stack and objects on heap?
    Thanks
    Neha

    paulcw wrote:
    I'm pretty sure that Java doesn't store any objects on the stack.I wouldn't be so sure if I were you.
    Why wouldn't Java be open to possible optimizations? It's definately faster to keep an object on the stack than letting it go through the garbage collector.
    In fact the Java compiler from Sun has had this optimization in the pipeline for a long time. I'm sure it's due "anytime soon" now.
    So it's wrong to say that objects are always stored on the heap. They can be store on the stack if it can be proved that their lifetime is limited to that of a method call. This requires the compiler to perform a so called "escape analysis" which has been in place for a long time in Sun compilers.
    If you want to learn more, Google for "escape analysis".

  • Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.

    Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.
    And I thought the whole point of an App Tab was to always have those tabs there no matter what window is open all the time period.
    It's a minor complaint but I would really appreciate the option to permanently have them there.

    I thought that app tabs would be more persistent, like pinning programs to the taskbar in Windows, but this is not the case.
    Instead, once you close a Firefox window, all its tabs and app tabs are lost.
    Essentially, this means that the close button in the upper-left corner of a Firefox window is now a "kill all open tabs and loose all App Tabs without warning++ " button. That is not cool.
    I realize that "Firefox > Quit Firefox" behaves as intended, but many people use the more obvious red close button instead of the menu to close windows on a Mac. And it is easy to forget that the red button is now also an app-tab-death button. I've lost my app tabs many times to this issue. It is an unforgiving user interface decision which hampers the usability of app tabs. Why should I go through the extra clicks of setting up app tabs if I can loose them so easily?
    Ideally, App Tabs could be saved separately from the currently open windows (perhaps create an option to save then to a special Tab Group that opens on startup?). App tabs would be exceedingly useful to me if they weren't so easy to loose.
    On that note, saving Tab Groups would also be a useful functionality.
    ++ You will get a "closing multiple tabs" warning if you have only one window open, and that one window has multiple non-app tabs open, and you have enabled the warning in Preferences. But this too unreliable to help prevent the loss of app tabs.

  • &param lexical variable in SELECT clause

    Is there a way to get Oracle*Reports to accept a lexical variable in the SELECT clause? The example is:
    SELECT
    table.column1,
    table.column2,
    &PARAM as column3
    FROM
    table
    I am already using lexical variables in the WHERE clause, but getting one to work in the SELECT clause has thus far failed.
    The SQL is accepted if :PARAM is used in place of &PARAM, but I am unable to actually vary the selected column this way.
    The bind variable PARAM has the following code behind it in a BeforeReport trigger:
    IF :ANOTHER_PARAM := 'ALL' THEN
    :PARAM = 'ALL'
    ELSE
    :PARAM = 'table.column3'
    When using :PARAM in the SELECT clause, the literals 'table.column3' are returned, not the contents of table.column3.

    Sorry for the wasted bandwidth. I found a solution. Here it is:
    SELECT
    table.column1,
    table.column2,
    CASE :P_USER
    WHEN 'ALL' THEN 'ALL'
    ELSE table.column3
    END as column3

  • I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    I'm having some difficulty with Time Machine.  It appears to be deleting backups from random dates on my external hard drive.  I am not deleting them.  Are they hidden and how do I prevent this from happening?  Can I retrieve them?

    ... I didn't know that Time Machine was more a last resort back up instead of main back up.
    Don't rely upon Time Machine to the exclusion of all else. I compliment Time Machine with a periodic "clone". TM is much better than nothing, but it's a safety net, not a hammock
    Here is my understanding of Time Machine's file deletion algorithm, distilled from Pondini's FAQ, Apple's KB articles, and my own observations.
    Time Machine deletes ("thins") files from the backup disk as follows:
    Hourly backups over 24 hours old, except the first backup of the day
    Daily backups over 30 days old, except the first backup of the week
    Older backups get deleted when Time Machine requires space and you deleted them from the source disk.
    Therefore, assuming TM has been performing at least one backup per day, backup files will remain available:
    at least thirty days, if they existed on your Mac for at least a day
    until you run out of space, if they existed on your Mac for at least a week
    In addition to the above, Time Machine always keeps one complete copy of your source disk so that the entire volume could be restored if necessary. Any files that remain on your source volume will be present on the TM backup, no matter how old they are.
    If you are using 250 GB of space on your source disk, its Time Machine backups are likely to require at least twice that much. A good estimate of the minimum required backup volume size would be about three times the size of your source disk - 1.5 TB in your case.
    A more thorough explanation would require Pondini since he has plumbed Time Machine's mysteries far more than I have.
    http://support.apple.com/kb/HT1427

  • After updating to iOS 8 all of my files in Pages are gone!!!! Where are they? And how do I get them back?

    After updating my iPad to iOS 8 all my files in Pages and Numbers are gone!!! Where are they and how do I get them back?

    If you didn't configure Windows Phone backup option or use VZW Backup Assistant then all is lost.
    If you did go with Windows Phone native backup and you use an Outlook account you should find your photos and videos on OneDrive.  I'm not sure how much VZW Backup Assistant backs up but you would need to start a restore from that software and see what's preserved.
    With any OS installs/updates a backup is always best to first.

  • SCCM 2012 SP1 - Evil Folders in Reporting Services - What Are They and How to Remove Them

    Hello All,
    There are a lot of sub-folders in the http://CentralSiteSCCM/ReportServer. They are like:
    <dir> Config_Mgr_CEN
    <dir> Config_Mgr_CEN.OLD.0
    <dir> Config_Mgr_CEN.OLD.1
    <dir> Config_Mgr_CEN.OLD.10
    <dir> Config_Mgr_CEN.OLD.100
    <dir> Config_Mgr_CEN.OLD.1000
    Only <dir> Config_Mgr_CEN is properly populated with the correct set of the default folders.
    Would you be so kind to advise on:
    What are they?
    How to remove them?
    What to do in order for them not to appear any more?
    Thank you very much in advance!

    Hi Mike,
    I ran into an issue when I did the SP1 upgrade where a majority of our reports were duplicated. I created a script to delete these duplicate reports and I've adjusted it to work for your situation. You can find the original thread here, if you're interested:
    http://social.technet.microsoft.com/Forums/en-US/configmanagergeneral/thread/dc9aa3b4-cea9-4a07-87ca-2795a2dbc04e
    You'll need to know your SCCM site code and the server name to run this script.
    # SCCM2012SP1-RemoveDuplicateSSRSFolders.ps1
    # This script will connect to SSRS on a specified server and delete all folders that end with .OLD.*
    # Used for SSRS cleanup after SCCM 2012 SP1 installation
    # Script must be run from an account that has access to modify the SSRS instance
    # 3/22/2013 - Mike Laughlin
    # Resources used in writing this script:
    # Starting point: http://stackoverflow.com/questions/9178685/change-datasource-of-ssrs-report-with-powershell
    # API Documentation: http://msdn.microsoft.com/en-us/library/ms165967%28v=sql.90%29.aspx
    # Previous script: http://social.technet.microsoft.com/Forums/en-US/configmanagergeneral/thread/dc9aa3b4-cea9-4a07-87ca-2795a2dbc04e
    # Define variables
    $SiteCode = ""
    $serverName = ""
    # Set the value of $noConfirm to $True only if you don't want to manually confirm folder deletion. Use with caution.
    $noConfirm = $False
    # Safeguard
    If ( $SiteCode -eq "" -or $serverName -eq "" ) { Write-Host "Enter the required information for the SiteCode and serverName variables before running this script." -ForegroundColor Red -BackgroundColor Black ; Exit }
    # Connect to SSRS
    $ssrs = New-WebServiceProxy -uri http://$serverName/ReportServer/ReportService2005.asmx?WSDL -UseDefaultCredential
    # Get a listing of all folders in SSRS
    $reportFolders = $ssrs.ListChildren("/", $True)
    # Find all folders containing .OLD.*
    $foldersToDelete = $reportFolders | Where { $_.Name -like "ConfigMgr_" + $SiteCode + ".OLD.*"}
    # Quit if no folders are found
    If ( $foldersToDelete.Count -eq 0 ) { Write-Host "No folders with .OLD.* found. Quitting." ; Exit }
    # Show a listing of the folders that will be deleted
    Write-Host "The following folders will be deleted from SSRS on" $serverName":`n"
    $foldersToDelete.Name
    Write-Host "`nTotal number of folders to delete:" $foldersToDelete.Count "`n"
    # Get confirmation before deleting if $noConfirm has not been changed
    If ( $noConfirm -eq $False )
    $userConfirmation = Read-Host "Delete these folders from" $serverName"? Enter Y or N"
    If ( $userConfirmation.ToUpper() -ne "Y" ) { Write-Host "Quitting, folders have not been deleted." ; Exit }
    # Delete the folders
    $deletedFolderCount = 0
    Write-Host "Beginning to delete folders now. Please wait."
    ForEach ( $folder in $foldersToDelete ) { $ssrs.DeleteItem($folder.Path) ; $deletedFolderCount++ }
    Write-Host "Folders have been deleted. Total number of deleted folders:" $deletedFolderCount
    Standard disclaimer: While this script worked just fine for me in my environment, I make no guarantees that it will work anywhere else. I've attempted to make this script as user friendly and generic as possible, but it may require slight tweaking to work properly.

  • I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files the error message is  could not be opened. The movie's file format isn't recognized. "  Any help or are they corrupted

    I just used stellar phoenix mac data recovery and it seemed to work but now my files won't open.  Even though they are "jpeg, mov" files, the error message is  "could not be opened". The movie's file format isn't recognized. "  Any help or are they corrupted?

    Sounds to me like the file is probably corrupt. If you had hard drive corruption or damage, that could easily result in recovered files not being fully intact. If you were trying to recover accidentally deleted files, it's possible they might have been partially overwritten before recovering. There are never any guarantees with file recovery.
    Without more information on the circumstances that led you to try recovery, it's hard to give advice on what to try from here. You could always try another file recovery tool, like Data Rescue 3. Just be sure you're taking appropriate precautions when doing recovery. See Recovering deleted files.

Maybe you are looking for