Parameter default value doesn't work in Discoverer Desktop 4i
Hello,
I have a parameter called 'Organization' in discoverer report.
I want to set its default value to one organization from the list of values. I edited the parameter
and selected that value from the list in the Default value field. But,when I run
the report, it shows the recently used value for that parameter,
instead of showing the default value.
I have the same problem with all parametrs in workbooks in Discoverer.
I am using Discoverer Desktop 4i (4.1.41.05.00).
Is there anything i can do to make Discoverer show me the default value for the parameter every time i run the workbook?
Thanks in advance!
Thanks Rod!
Unfortunately it seams that seting that p[reference doesn't work for my version of Discoverer.
That option is introduced with version 4.1.43 and we are using version 4.1.41.05.
I suppose i can't solve that problem on another way in this version of Discoverer Desktop..?
Best regards!
Similar Messages
-
OBIEE 11g Prompt's default value doesn't work with a presentation variable
Hi, I'm using OBIEE 11g and I have two dashboard prompts (Product Name and Product Number). Theses prompts are hierarquical, so the values that are displayed in the Product Number prompt have dependency with the values chosen on the Product Name prompt. This I was able to do, but now I want to put a default value on the Product Number prompt. The steps are:
1 - The user chooses the value for the Product Name Prompt and by doing that the Product Number prompt is automatically filled with the correspondent value.
But unfortunatelly this is not working, after choosing the value for the Product Name the default value for Product Number is not displayed (when you open the prompt the values displayed are correct and already filtered considering the Product Name but the prompt is not automatically filled with the default value).
What I did is:
On the Product Name Prompt I've created a Presentation Variable called PROD.
On the Product Number Prompt I've selected:
1 - For the "Choice List Values" field I've checked the option "Limit Values by All Prompts"
2 - For the "Default Selection" field I've chosen the SQL Results option and enter the following SQL:
SELECT "Products"."Product Number" FROM "Sample Sales Lite"."Products" WHERE "Products"."Product"='@{variables.PROD}
What am I doing wrong?
Thank you,
CarlaSorry I was wrong in my previous thread.
Actually your approach is not correct, Product Number choose constraint that will show as per the selection of Product Name.
Coming to default value for Product Number you are going for sql override that is okay but not work with variable, instead of setting default values for product number set that to product name.
if not you need to go for 2 different prompts
Prompt 1 Product Name hit GO
Prompt 2 will work based on as you defined earlier with variables
Hope this helps -
Hi, I am using SQL Server 2008 R2 database & SSDT (Visual Studio 2012) to develop reports. I am trying to modify an existing report after the upgrade and something seems not right especially with report parameter default values. I am using the expression
below and for the default value its always returning the false part. When I put this expression in a textbox to test results it works as expected. Thanks in advance.
=IIf(Parameters!Area.Value = "Test Area", "1", "2")
IoneHi Lone,
Per my understanding you are experiencing the issue that the report parameter’s default values not work, the default values for this parameter is using the expression based on another parameter, but now it not always display the correct value, right?
I have tested on my local environment and can reproduce the issue, the issue can be caused by you have not specified available values for this parameter base on their parent parameter(Area), so the parameters will not refresh when the value of the first
parameter has changed. In Reporting Services, if we want to create cascading parameters, we should specify both available values and defaults values for child parameters.
Please specify the Available values as below, using both the expression in the Label and Value:
=IIf(Parameters!Area.Value = "Test Area", "1", "2")
You also use an alternative method to create this parameter without using the expression:
Create an Dataset using below query to get the Parameter(“1”,”2”):
select distinct (CASE WHEN (@Area) =' Test Area' THEN '1' ELSE '2' END) AS FieldName from TableName.
In the Second Param(Param2) In both the “Available Values” and “Default Values” select the “Get values from a query”.
For more information about how to create cascading parameters, please see MSDN document which tell us how to do it steps by steps.
http://msdn.microsoft.com/en-us/library/aa337498(v=sql.105).aspx.
If your problem still exists, please feel free to ask.
Regards
Vicky Liu -
SoftKeyboardType property of StageText : some values doesn't work on Android
Hello,
on my Galaxy Nexus Android 4.2.2, when I use the softKeyboardType property of StageText :
"number" and "email" work,
but "punctuation", "url", and "contact" doesn't work.
http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/text/StageTe xt.html#softKeyboardType
Why some values doesn't work ?
I need the constant "punctuation", please help.
ThanksHi,
Thank you for your bug report. We are able to reproduce the issue. Could you please open a new bug report on this over at bugbase.adobe.com? Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?
Thanks once again for reporting this.
-Nimit -
javascript doesn't work on safari desktop but works properly on Safari ipad. I already cleaned a cache without success. IE, FF and Opera are working well
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Cheers, Tom -
Default an operation/phase in COR6 - Parameter ID VGN doesn't work
Dear experts,
We are running ECC 6.0 and we need to have the field 'Operation-phase' filled out with certain value by default, right after the user calls the transaction COR6.
We have been trying to use the Parameter ID VGN, by adding it, along with the operation number, to the 'Parameters' tab in the userID. However, this doesn't work.
I would appreciate any input you can provide to have this requirement fulfilled as soon as possible.
Thank you!
Cesar C.Hi,
Many thanks for the hint, but unfortunately we can't set that field as mandatory because there are some users who like to select the operation from the pop-up window that appears after you hit enter.
There are some others (the lazy ones ) who want to have the value defaulted from their "own data".
I hope this help to clarify the requirement.
Thank you!
Cesar C. -
Report Parameter Default Value at runtime
Post Author: DMiller
CA Forum: .NET
Hi,
I need to be able to create new parameters at runtime and have been somewhat successful in this endeavor. I have one remaining issue that I am hoping that somebody can help me with. Let me explain.
When you create a parameter from within the Crystal XI designer, you are able to specify a number of default values that will display as a list box at runtime. Eg. ParameterName is MaritalStatus and default values are ("Married", "Single", "Divorced" etc). There is also the ability to specify the Default Value in the Value Options area of the screen. This value could be set to any one of the default values above - let's say that I set it to "Single". By setting the Default Value, this causes the Parameter Fields screen, at runtime, to "Select" the specific default value set above - in this case "Single", instead of showing "..." as the parameter value.
The default value setting in the Value Options is beneficial when you have reports that are usually run with certain parameter values and only occasionally these need to change. Instead of having to specify every parameter value, the user only has to set the ones that have not been defaulted or they want to change.
So, I have been successful in creating the parameters at runtime and successfully running the report. I have been unsuccessful in setting the "Default Value" as seen in the Value Options area. I have tried a number of properties on the report parameter object and have not found anything to set this.
Does anybody know how to set the "Default Value" as seen in the Value Options area in the designer at runtime?
Thanks for any help.Post Author: JerryB
CA Forum: .NET
You have described my scnario to a tee. Did you ever figure out how to get the single default value that is available in the "value options" area when working within the Crystal Reports development environment. I am using VB.Net and have a nice report menu form and viewer but recently a user ask me to set the default value in one of my combo boxes and I have been unsuccessful in finding the correct property to use. -
[SOLVED] LXDM not saving selected session,Default session doesn't work
Hello,
I'm trying to use LXDM to start my desktop. However, every single time I log in, I have to tell it to use XFCE as my session.
Even if I choose it manually, after logout/login it just resets to "Default session" (which doesn't work: just drops back to LXDM).
I looked everywhere in my home directory and not found any place where it stores the session.
Any ideas? lxdm 0.4.1-8, xfce 4.8, x86-64 Arch Linux.
Thanks.
Last edited by Renan Birck (2012-04-02 21:06:42)It's the default, except that I enabled autologin (which doesn't work due to the problem I describe in my post).
[base]
## uncomment and set autologin username to enable autologin
autologin=renan
## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10
## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde
## uncomment and set to set numlock on your keyboard
# numlock=0
## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp
## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk
[server]
## arg used to start xserver, not fully function
# arg=/usr/bin/X -background vt1
[display]
## gtk theme used by greeter
gtk_theme=Clearlooks
## background of the greeter
# bg=/usr/share/backgrounds/default.png
## if show bottom pane
bottom_pane=1
## if show language select control
lang=1
## if show keyboard layout select control
keyboard=0
## the theme of greeter
#theme=Archlinux
[input]
[userlist]
## if disable the user list control at greeter
disable=0
## whitelist user
white=
## blacklist user
black= -
Dynamic parameter default values
Hello guy,
i'm having a little problem, i hope someone in here can help me. So, here is my situation:
I'm building a windows forms application in C# to display some reports. As i want to redesign all the controls, i made my own prompt to fill in the parameters. This works really fine, except one thing:
Whenever a parameter has default-values (so just a list of values is allowed), I switch from a textbox to a dropdown-menu filled with the default values.
No problems with static parameters, but i can't find a way to access the default values from dynamic parameters (values are retrieved from SQL-Server). The default prompt from the report-viewer can do it right, so i hope you can hep me with my following question:
Is there a way to obtain these values? Or at least the SQL-statement that is used to get them?
thanks
using:
Visual Studio 2010 v10.0.30319.1
Crystal Reports runtime engine .NET 4, v13.0.1.220
Crystal Reports for Visual Studio v13.0.1.220
Edited by: Peter Wurstberg on Oct 12, 2011 1:15 PMI don't think the CR or Enterprise .NET SDK has any public APIs to retrieve default dynamic prompt values for crystal report parameter. With Java SDK there are no direct methods as well, however you can tap the HttpResponse object to read the prompt values that are sent to your viewer by the server as the viewer displays them and prompts you to select parameter value, however this method is not officially supported. With .NET SDK I am not sure if it is even possible. You have to use the standard viewer to see those values and let the viewer prompt with them, ratherthan your own controls.
Hope that helps.
Aasavari -
Programatically modifying Parameter Default Values in CR10 rpts
If this isn't the correct forum for this, then I apologize. Here is the situation:
Our company uses Microsoft Dynamics SL version 7.0 (formerly Solomon), which leverages a "runtime" version of Crystal Reports 10 for some custom reports (simply named "Crystal Reports 10 for Solomon"). These reports are stored as .rpt files but are opened from within Dynamics. About 15 of these reports have a "client" parameter and I am having to manually refresh the list of default values once a month because new clients are always getting added to the system. As you can imagine, this is a pain.
My goal is to write a simple console app that can programatically refresh the default values. I would then schedule it to run nightly.
I've downloaded the CrystalReports files for VS2010 (from http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp) and I almost got it working, but I noticed a problem. If I save the file using the ReportDocument.SaveAs() method, it seems to save the rpt as a newer version of CrystalReports. When I open the report with "Crystal Reports 10 for Solomon", I get a message that says "This report was created with a version of Crystal Reports for Solomon which is later than the version you are running. Some features used in the report may not be supported."
Is there any way to save it in the native version of the original rpt? Is there an older version of Visual Studio (such as 2005?) or an older SDK that could be used to save the report as CR10?
static void Main(string[] args)
ReportDocument rpt = new ReportDocument();
rpt.Load(@"P:\Usr_Rpts\08CARDC - pgaule.rpt");
//open the report
Console.WriteLine(rpt.ParameterFields["ClientName"].DefaultValues.Count.ToString());
rpt.ParameterFields["ClientName"].DefaultValues.Clear();
Console.WriteLine(rpt.ParameterFields["ClientName"].DefaultValues.Count.ToString());
rpt.SaveAs(@"P:\Usr_Rpts\08CARDC - pgaule.rpt", ReportFileFormat.VSNetFileFormat);
rpt.Close();Hello,
The short answer is that there's no way to "save down" your reports to the CR10 version without using CR10 (or CR 10 runtimes). The bundled versions of CR that ship with earlier versions of Visual Studio are built on the same CR10 code stream, but they're still not the same version. The warning message would not be eliminated by using an older version of Visual Studio.
The only way to eliminate the warning message would be to create an application that was created with the stand alone version of CR10. I expect it would be very difficult to find a copy of CR10 Developer edition. CR10 reached End of Life for patch support in January, 2007.
The warning message you're seeing when you open the updated report is just saying that you're opening a "newer" report with "older" runtime files. You're not really adding any new functionality to the RPT files so the warning can be ignored. If you were trying to use a dynamic cascading parameter (new functionality) this would not work correctly in your Solomon v10 application.
Even though you can ignore the warning message there's no way to suppress it that I'm aware of.
Sincerely,
Dan Kelleher -
Report parameter default value do not default correctly
Hello Experts, I have a cascading parameters in my report.
The first parameter called "Project" will allow to select a single Project Name from the list and based on the Project Name, the second parameters which is a "Date" parameter will give out list Months and Year in the Format 'Nov-14'.
For this Second parameter I defaulted the parameter to show First Month in the retrieved list of Months. But the problem is it will display the default Date correctly only certain times (there is a refresh problem). If i select a different project and it
has a month that was retrieved in the first project it will still show the that Month but not the actual default month (Start Month) for that particular Project.
Example: If I select Brisk from Project parameter, It will give me 18 months of Dates in the Date parameter. In that 18 month range first month is Sep-13 it will default to Sep-13 correctly. Then if I select a different project like "Creek" (example)
as Project , the Date parameter retrieves some dates corresponding to Creek Project and in the retrieved months if Date parameter has Sep-13 it will still show Sep-13 even though the
Start Date for Creek project is Jun-12.
1. Project Brisk: Defaulted correctly to Sep-13
2. Creek Project : Should default to Jul-12 but still shows Sep-13
Just for default value I created a separate dataset and used it to populate the default value and the SQL I used just for default value is as below:
SELECT DISTINCT TRUNC(DATE_KY, 'MM') AS DEFUALT_DATE
FROM DATE_D D
WHERE (DATE_KY = ADD_MONTHS(:PROJECT_DT, - 6))
Date parameter datatype is Date/Time,
Available Values Tab: label field is a String but the Value field and the default field (Default Values tab) are Dates
Thanks in advanceThanks Vicky for reply.
Yes you are right but I did not use First function as the query above retrieves only one date.
I used your suggestion but it did not fix it.
In this report I have three parameters.
1. Project Code (Visible)
SELECT DISTINCT PROJECT_CODE
FROM DIM.PROJECT
ORDER BY PROJECT_CODE
2. Project Date (Invisible)
SELECT
MAX(CASENA.MILESTONE
WHEN'ABCD'THENTRUNC(PROJECT_DATE,'MM')ELSENULLEND)PROJECT_DATE
FROM
DIM.PROJECTNA
WHERE(NA.PROJECT_CODE
=:PROJECT_CODE
or'ALL'=:PROJECT_CODE)
3. Start Date (Visible):
Available Values Query:
SELECT DISTINCT
--DER_DATE is "Value Field"
TRUNC(D.DATE_KY, 'MM') DER_DATE
--Display_date is "Label Field"
, TO_CHAR(D.DATE_KY, 'Mon-YY') Display_Date
FROM DATE_D D
WHERE DATE_KY BETWEEN ADD_MONTHS(:PROJECT_DATE, -6) AND ADD_MONTHS(:PROJECT_DATE, 6)
ORDER BY 1
Default Values Query:
SELECT DISTINCT TRUNC(DATE_KY, 'MM') AS DEFUALT_DATE
FROM DATE_D D
WHERE (DATE_KY = ADD_MONTHS(:PROJECT_DATE, - 6))
When you select a Project from "Project Code", it will give a "Project Date" and based on the "Project Date" it will give a date range in "Start Date". That is why I am using "Project Date" parameter in my
query. I even tried using Project code as you suggested but I still got the same result.
Thanks a lot for your reply. -
Ssrs parameter default value not showing ,when available values is binded to query dataset
I have developed a report using sql server data tools for vsiual studio2012 ,i have defined few parameters ,on one of the parameter when available values is binded to a dataset query, the report default value is not showing in report preview .
Many Thanks
ChandraHi Chandra,
According to your description, you have set the default value for a parameter, but it's not displayed when initially running the report. Right?
In this scenario, since you have set the available values bind to query, so your default values should be within these available values. If these default values are not within the available values, the default values will be not displayed. So please check
the default values.
Reference:
Add, Change, or Delete Default Values for a Report Parameter (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
FileXtra4 problem - default folder doesn't work.
Don't know why this doesn't work, but the default folder
setting in the
FileXtra open/save dialogues doesn't seem to work as
advertised. My code
goes like so:
currentLevel = fxObj.fx_FileOpenDialog(the moviePath &
"\Levels\","*.lvl","Load Level",False,True)
the moviePath & "\Levels\"
should be the correct folder, but instead, it always defaults
to My
Documents for some reason. (When running as a projector. In
Authoring
mode, it defaults to the moviePath, but ignores my
sub-folder.) Either way,
it never gets it right the first time. The second time and
subsequent
times, it always goes to wherever you last opened something,
but the first
time is always wrong. I did notice that the example in their
documentation:
put fxObj.fx_FileOpenDialog("C:\My Documents\", "Text
Files/*.TXT","Choose a
text file", True, True)
does use My Documents as its default, but I've changed that,
so it should be
going to the folder I pointed it at.Without looking too deeply, I think I remember that, yes, it
doesn't work.
I usually end up using BuddyAPI for this.
Craig
"Darrel Hoffman" <[email protected]> wrote in message
news:fm362a$ep7$[email protected]..
> Don't know why this doesn't work, but the default folder
setting in the
> FileXtra open/save dialogues doesn't seem to work as
advertised. My code
> goes like so:
>
> currentLevel = fxObj.fx_FileOpenDialog(the moviePath
> "\Levels\","*.lvl","Load Level",False,True)
>
> the moviePath & "\Levels\"
> should be the correct folder, but instead, it always
defaults to My
> Documents for some reason. (When running as a projector.
In Authoring
> mode, it defaults to the moviePath, but ignores my
sub-folder.) Either
> way, it never gets it right the first time. The second
time and
> subsequent times, it always goes to wherever you last
opened something,
> but the first time is always wrong. I did notice that
the example in
> their documentation:
>
> put fxObj.fx_FileOpenDialog("C:\My Documents\", "Text
Files/*.TXT","Choose
> a text file", True, True)
>
> does use My Documents as its default, but I've changed
that, so it should
> be going to the folder I pointed it at.
> -
Default Gateway doesn't work when entered in address bar
I'm trying to get to my router's settings. The default IP address of my router (192.168.1.1) doesn't work when I enter it in the address bar. Neither does the Default Gateway that I got from clicking on start, run, typing cmd and then ipconfig/all. Does anybody know how I can access my router settings without resetting it?
That seems to be the modem default gateway... is your PC connected to the modem via a USB cable? (sometimes that might be the case)... or what port of the router is your modem connected to?
-
Snap to Absolute Value doesn't work in Logic 9
I recently upgraded to Logic 9 and things have been good except that in my Piano Roll the "Snap to Absolute Value" setting stopped working for setting the ends of my notes. I migrated my settings over from Logic 8 and all my keys commands and preferences work perfectly so I am wondering if there is a new setting in Logic 9 I have to set to get the snap to work. When I try and lengthen notes whether I have "Snap to Absolute Value" set or not the resolution for changing the note length does not change and I can't get my note ends exactly where I want them. If I zoom in on the note ends and have "snap" on I can get the not ends to an absolute value, but I thought the point of the "Snap to Absolute Value" setting was that you didn't have to change your zoom to snap to absolute value. Any suggestions would be helpful.
Are you using a locale different from the default (En-US)? Can you check if the phone locale that was installed on the CUCM is compatible with the phone firmware? Can you try a higher phone firmware and higher locale which is compatible with that phone firmware?
Maybe you are looking for
-
ERROR while running attribute change run.
hi sap xperts, I got an error while running the attribute change run in a process chain. At first i got an error "The action is locked by a change run" SO I DID THE FOLLOWING STEPS. 1.RUN ATTRIB CHANGE RUN MANUALLY IT RUN SUCCESSFULLY,but the proces
-
How do I stop updates uploading on my mobile please? Because I cannot take any photos at all on it as the iOS update program 7.0.3 is hogging up every inch of my mobile's space, not allowing me to keep my photos even though I've not that many anyway.
-
Can I export albums the same way as iTunes Playlists?
I'm about to reformat the hard drive on my iMac G5 and therefore will be reinstalling the iLife apps. in iTunes I'm able to export my playlists, save them, and import them later. Can I do the same with iPhoto albums? If not, what procedure do I fo
-
Deleting pictures uploaded from my camera
I used my iPod camera connector and uploaded pictures to my iPod while on vacation and now I have them in iPhoto, my problem is deleting them from my iPod now. When my iPod is connected to iTunes the only option available is to add/delete photos that
-
Upgraded to Version 10 and NO Bookmarks & associated Passwords
I am using Win 7 Pro 64 Bit Just upgraded to Version 10 and WHAM!!! NO Bookmarks and of course all stored Passwords have gone with them. Is there a solution or a way to "Roll Back" to the previous version? Do not recall seeing a BIG Flashing Sign say