InfoPath will generate a new sequential value (Unique ID) based upon a user-selected value
I am trying to create an Infotpath form that is submitted to SharePoint and I have it working but not the way I would like it to work. Any help with much needed detail would be greatly appreciated due to the fact I am still a "newbie".
I have two fields one called Ref Number which is a read only text box to the users and another field called Own Info which is a Drop-Down list. Bascially I would like it to where when the user clicks the submit button the Ref Number will get incremented.
I have the form incrementing with leading zeros but every time the submit button is clicked and I would like it to be determined by the Own Info and not like this : concat(Own_Info , "-", substring("000", 1, 4 - string-length(max(ID) +
1)), max(ID) + 1).
Example:
1.Own Info: D652 Ref Number : D652-0001
2.Own Info: D652 Ref Number: D652-0002
3.Own Info: D653 Ref Number : D653-0001
4.Own Info: D653 Ref Number : D653-0002
5.Own Info: D652 Ref Number : D652-0003
So the Ref Number increments based off of the Own Info which will be about 25 different options. Again any help with much needed detail would be greatly appreciated. Thanks in advance!!!!
I have also done something like this using a list for the next reference number:
Set up a list with the Own Info number and Next Ref Number
Populate the list with the possible Own Info Numbers and the next available ref number for each one
Own Info | Next Ref Number
D652 | 0004
D653 | 0003
Use a workflow when the submit button is clicked that looks up the Own Info number from your custom list and gets the next ref number that corresponds to it
concatenate the two and use for the combined number
use the same workflow to update the next ref number
One thing to be wary of when you set something up like this, is that if the workflow will run often (the form is being used and submitted heavily) a race condition can exist where two workflows might try to update the same Own Info->Next Ref Number. This
is probably not the solution to use if this is your scenario.
Marlene Lanphier MCTS
Similar Messages
-
Regarding Can we store User Selected values in prompts
Please help us in achieving the below requirement.
Requirement is to store User Selected values in prompts when the report is opened by a User for the first time and make use of those values to refresh the report next time onwards.
1.Can this be achieved in WebI ?
2.If it is thru SDK(we use Java), any experience/help in doing this ?
Environment : BO XI 3.1 with SAP BW IntegrationHi ,
If you dont want data to be displayed in this report for this two values , then exclude this two values when you restrcit your characteristic to the variable.
If you want not to display this values when user opens help for entering the values where he can see all the possible values for selection for the variable, then it wont be possible.
Hope this will help.
- Jaimin -
Retrieving user selected values in drop down
Hello
I am in trouble again
I am trying to set the user selected values in the dropdown list but whatever i tried i always either get the default values or just the last selceted value or the first selected value
Can anyone help please
heres the code
String values = request.getParameter("selectHeaders" + i++);
while (values != null)
selectedValues.add(values);
values = request.getParameter("selectHeaders" + i++);
[INSIDE HTML]
<%
for (int j = 0; j < headerList.size(); j++)
String selectedHeaders = "selectHeaders" + j;
%>
<TD><%=headerList.get(j)%></TD>
<TD><SELECT name="<%=selectedHeaders%>">
<%
for (int k = 0; k < sheetHeaders.size(); k++)
int m = 0;
int val = 0;
boolean isSelected = false;
if(selectedValues.size() != 0)
while((!isSelected) && (m < selectedValues.size()))
String valueStr = selectedValues.get(m).toString();
val = Integer.parseInt(valueStr);
// logger.debug("THE USER SELCTED VALUE : " +val);
// logger.debug("THE LOOP value k: " +k);
if (val == k)
isSelected = true;
else
m++;
} //end of while
logger.debug("THE BOOLEAN VALUE IS: "+isSelected);
%>
//this line is the one where all my confusion is
<OPTION <% if(isSelected) {%> selected <%}%> value = '<%=k%>'><%=sheetHeaders.get(k)%></OPTION>
<% } //end of if(isSelectedValues.size())
else { %>
<OPTION <% if (j == k) { %> selected <%}%> value="<%=k%>" ><%=sheetHeaders.get(k)%></OPTION>
<% } //end of else (selectedValues == 0)
} //end of for(k)
[END HTML]I got the solution
Thanx for your time
have a nice day -
Populate text field based on the lov selected value
Hi,
based on the value selected in lov, i want to populate another text field. Below is the code I have written
In PFR:
if(pageContext.isLovEvent())
String lovInputSourceId = pageContext.getParameter(SOURCE_PARAM);
if ("lovCategory".equals(lovInputSourceId))
java.util.Hashtable lovResults = pageContext.getLovResultsFromSession(lovInputSourceId);
if(lovResults!=null)
String value =(String)lovResults.get("lovCategory");
amobj.categorycode(value);
AMImpl code:
public void categorycode(String code) {
sundryCodeVOImpl vobj = getsundryCodeVO1();
vobj.setWhereClause( "lookup_code = "+"'"+code+"'");
vobj.reset();
vobj.executeQuery();
String desc = vobj.first().getAttribute("Description").toString();
String attr = vobj.first().getAttribute("Attribute1").toString();
testEOViewImpl vobj1 = gettestEOView1();
vobj1.getCurrentRow().setAttribute("CodeDescription",desc);
vobj1.getCurrentRow().setAttribute("PurchasingCategoryCd",attr);
vobj1.executeQuery();
With this code, the updated values for the attributes CodeDescription, PurchasingCategoryCd are getting inserted into the database table but they are now showing up in the text fields when a value is selected in lov.
Please tell me what is the mistake I'm doing.
Thanks
SunnyI'm using Lov Map to populate the lov field say field A. But I need to populate another field say field B based on the value selected in field A.
to give an example of my requirement. Consider a view object having attributes col1,col2,col3 and having following data.
col1--col2--col3
1-----a-------x
2-----b------y
3-----c------z
I 'll populate the lov of field A with values in col1. when user selects value 1 in field A. automatically field B should show value 'a'. If user selects value 2 in field A, field B should show value 'b' so on.
Thanks
Sunny -
How to generate a Unique key based on a some String value
Hello every one,
I am sorry , If I post this question in wrong group... I have a requirement to generate a unique key ( what every it may be alpha, numeric or alpha numeric) based on some String..
For ex : String str = "AbCX" - Gives a unique key based on "AbCX" value..
Is there any way we can get the unique value using Java ?
ThanksMay be not what you are looking for, but here's may idea:
use a sequence (db sequence) and add it the the string value. This way the value is unique, because the sequence is unique. So you could omit the string theoretically, but your requirement is met.
It's very easy to get a unique sequence number from the db using java, depending of the technology you use (which you did not say :-( )
Timo -
How to bind a user selected value to a view object bind variable?
Hi
I have two pages in ADF BC application. In the first page ,i will give a drop down menu to user which displays all the table names in my databse.
when the user selects a table and goes to the second page..he should be given a menu or a check list of all the columns in the user selected table....
to display the columns i have used the query
Select COLUMN_NAME from user_tab_columns where table_name = : table_name in the view object.
now how to bind the user selected table value in the first page to the table_name bind variable in view object ?
thanks
swathi.Hi,
depends on how the select box is implemented. With ADF and ADF Faces, the default value selection is the list index. In a value change listener you could look up the selected value from the underlying iterator. Store this value e.g. in a session attribute and point the NDValue of the ExecuteWithParams operation to #{sessionScope.your_attribute}
Frank -
Need to filter unique columns based on other column's values
I'm rookie and I'm running this query:
SELECT TO_NUMBER (hs_key) bug, "HS_TABLE_NAME", "HS_COLUMN_NAME",
"HS_CHANGE_DATE", "HS_CHANGE_TIME", "HS_CHANGER", "HS_NEW_VALUE"
FROM cb_tdqatodo1_history
WHERE (hs_column_name) = 'BG_STATUS'
AND (hs_new_value) LIKE '%Not a Bug'
AND (hs_change_date, hs_key) IN (
SELECT MAX (hs_change_date) hs_change_date,
hs_key
FROM cb_tdqatodo1_history
GROUP BY hs_key);
The result is
BUG HS_TABLE_NAME HS_COLUMN_NAME HS_CHANGE_DATE HS_CHANGE_TIME HS_CHANGER HS_NEW_VALUE
101 BUG BG_STATUS 12/16/2005 17:49:54 helpdesk Closed Not a Bug
101 BUG BG_STATUS 12/16/2005 12:20:22 hgarcia Not a Bug
1012 BUG BG_STATUS 1/21/2005 08:04:56 helpdesk Not a Bug
1014 BUG BG_STATUS 2/1/2005 14:33:56 lossa Not a Bug
1020 BUG BG_STATUS 1/28/2005 17:04:45 fgonzalez Not a Bug
I need to resolve the cases when the field BUG has the same value in HS_CHANGE_DATE but different value in HS_CHANGE_TIME without impact the rest of the records?
In this case I need the result just show me one Bug per line.
ThanksBasically you want to create two filters on different columns and have OR clause between them instead of an AND. To acheive this, add both of your filters, once added you will the them in the filters section. Click on AND, and it will change to OR. This should solve your problem.
Look at the below image where you can see two filters with an AND clause. Clicking on AND will change it into OR.
http://gerardnico.com/wiki/_media/dat/obiee/presentation_service/obiee_filters.jpg
Close thread and award points please.
Thanks,
-Amith. -
Matching user selection value with xml statements
I'm fairly new to the Spry framework and I'm trying to
accomplish a simple project with it and struggling. Can anyone give
me some direction or suggest some samples to look at?
I'm creating a survey and I've generated a radio button list
that will appear with each statement in my xml. I could write a
general javascript function that captures the value and totals it,
but it is a little more complex than that and that's where I'm
stuck.
Each statement has a career type associated with it (which
I've stuck in the code, but will hide it later). I want to get the
value of the user's checked radio button and then add it to a
variable based on the career type? How do I get that career type
and associate it with the user's choice? Do I need to put a
function in "onclick" and set it as the current row?
my html:
<head>
<script type="text/javascript"
src="assets/includes/xpath.js"></script>
<script type="text/javascript"
src="assets/includes/SpryData.js"></script>
<script type="text/javascript">
var jSurvey = new Spry.Data.XMLDataSet("survey1.xml",
"survey");
var jStatement = new Spry.Data.XMLDataSet("survey1.xml",
"survey/question");
function getValue(){
</script>
</head>
<body>
<p spry:region="jSurvey"
class="header">{jSurvey::surveyTitle}</p>
<form name="scale">
<table>
<tr>
<th scope="col">Statements</th>
</tr>
<tr>
<td><div spry:region="jStatement"><p
spry:repeat="jStatement"
class="{ds_EvenOddRow}">{jStatement::statement}<br
/><br />
<span class="">{jStatement::careerType}</span>
<input type="radio" name="option_{ds_RowID}"
id="{ds_RowID}" value="0" onclick=" " >Dislike</input>
<input type="radio" name="option_{ds_RowID}"
id="{ds_RowID}" value="1" onclick=" ">Uncertain</input>
<input type="radio" name="option_{ds_RowID}"
id="{ds_RowID}" value="2" onclick=" ">Like</input>
<input type="radio" name="option_{ds_RowID}"
id="{ds_RowID}" value="3" onclick=" ">Like Very
Much</input></p></div>
</td>
</tr>
</table>
<input type="submit" />
</form>
</body>
my xml:
<survey>
<question>
<statement>Use dental instruments within patient's
mouth.</statement>
<careerType>Dental Hygienist</careerType>
</question>
</survey>
Any direction or samples I should look at would help.
thanks, BrandyHi Brandy,
I would try writing out my radios like this:
<input type="radio" name="option_{ds_RowID}"
id="{ds_RowID}" value="0"
onclick="AddAnswer('{jStatement::careerType}', this.value); " />
And then define a function that tracks the answers by career
type:
var answers = {}; //. Associative array that will track our
answers by career type.
function AddAnswer(careerType, value)
answers[careerType] = value;
By the way, I see you doing something like this:
<input ...> ... </input>
Input elements aren't supposed to contain anything. That's
why in my example I used:
<input ... />
--== Kin ==-- -
Displaying user selected value during PFR() in th same page again.
Hi,
I have search/Results both in the same Page.
Hence initially Results(Advance table will be empty).
Once user provides search conditions and clicks 'Go'.I perform VO query which is associated with the Advanced Table.Hence Results get populated automatically in the table.
I need to display one of the search condition values as the Advanced Table header.Ex :Currency chosen (USD,Euro,INR etc)
My Issue is
I receive input conditions in the PFR().
Once I query the VO i assume that OAF invokes PR() for the page.
How can I pass the Currency unit received in PFR() to PR() to programmetically edit the Header of Advanced Table.
Thanks,
Gowtam.Gowtam,
Set the values which you want to show as header as parameters when you are in PFR handling the search Go button request. In PR make sure to set the set the text for the header bean dynamically at each execution. If you get the parameter values, set them as header text as required and in case the parameters are null i.e. when you come to page for the 1st time, put your default text or null as required.
--Shiv -
Preset default value of DropDown based on Content Type selection in the SharePoint 2010 library
Hi,
I have three site content types (Admin, Technical & Well) derived from base content type "Base" and added this content types to "Documents" library. I also have one site column "Category"(Dropdown) with values (Admin, Technical
& Well) which is available in all the content types.
Now, when i try to create a document based on "Admin" content type then "Category" value should be preset to "Admin", similarly when i select "Technical" content type then "Category" should be preset to "Technical"
and same with "well".
Can some one provide me how i can achieve this?
I am working in the SharePoint 2010 environment.
Regards,
ChakradharMy understanding is that , you have to display the category in all the content types.
So in that case create a content type like
Create a base content type -- with column category.
Create a Admin content type based on base content type as parent. By default ,the category column is available in admin content.
Create a Technical content type based on base content type as parent. By default ,the category column is available in Technical content type.
Create a Well content type based on base content type as parent. By default ,the category column is available in Well content type.
Do you want to create using sharepoint ui or code(visual studio)? -
Accessing pickList's selected values
Hello everyone,
I'm trying to use a rich:pickList with two datastructures: one for the possible option values and another to retrieve the user selected values. I can create and populate the pickList with the option values, like this:
<rich:pickList copyAllControlLabel="Add all" copyControlLabel="Add">
<f:selectItems value="#{SessionBean.tempDistincts}"/>
</rich:pickList>tempDistincts is:
private ArrayList<SelectItem> tempDistincts = new ArrayList<SelectItem>();And populated this way:
Vector<String> values = extractor.getDistinctValues();
for (int i = 0; i < values.size(); i++) {
tempDistincts.add(new SelectItem(values.elementAt(i)));
}This pick list displays the values correctly, however, when I try to add a new structure to retrieve the selected values I get an error.
The XML code is:
<rich:pickList value="#{SessionBean.tempSelectedValues}" copyAllControlLabel="Add all" copyControlLabel="Add">
<f:selectItems value="#{SessionBean.tempDistincts}"/>
</rich:pickList>Where tempSelectedValues is:
private ArrayList<String> tempSelectedValues = new ArrayList<String>(); When I try to run, I get the following error:
java.lang.NullPointerException
at org.ajax4jsf.util.ELUtils.getGenericCollectionType(ELUtils.java:144)
at org.ajax4jsf.util.ELUtils.getContainerClass(ELUtils.java:174)
at org.richfaces.component.UIPickList.getConverterForValue(UIPickList.java:93)
at org.richfaces.component.UIPickList.getConverter(UIPickList.java:72)
at org.richfaces.renderkit.PickListRenderer.encodeRows(PickListRenderer.java:245)
at org.richfaces.renderkit.PickListRenderer.encodeSourceRows(PickListRenderer.java:359)
at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:371)
at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:279)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
at org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:387)
at org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:382)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:273)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:204)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:22
7)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.
java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)I thought that maybe I had to use the same SelectItem type for the selected items variable, but I get the same error.
Any ideas please?
Thanks in advance,
~RubenYes, I found that strange too, but since I'm fairly new to JSF I just thought a strict syntax was required.
My variable is named "tempSelectedValues".
The wrongly name accessor was the getter, it was declared like this:
public List<String> getSelectedValues() {...}Once I changed it to
public List<String> getTempSelectedValues() {...}it started working. -
You won't let me! The 'red' prompt says I have use more than 255 characters.
By accident, after nearly an hour of playing with FF7, I discovered that by pushing down (like a button) on the scroll wheel or holding down CTRL key will open a new tab to the right of existing tabs when selecting a bookmarked site or link within a webpage.
-
How do I pass selected values from dynamic LOV to Command SQL in Oracle
My environment:
Crystal 11
Oracle 10
I've created and tuned a SQL script for a report. In the Database Expert, I've copied the SQL into a Command. I've modified the Command to create 3 parameters.
I need help with the following:
1) How do I create a dynamic, cascading LOV and associated prompt group for the three parameters defined in the Command?
2) How do I pass the user selected valueS from the prompt group into the Command SQL as limits applied to the query executed against the database?I have the same problem with same environment .
The main report is having a 2 level cascading dynamic parameters.
I created a sub report with a command as below.
*select * from (*
select DATUM,MSEC,CNT,B1_NAME,B2_NAME,B3_NAME,ELEM_NAME,INFO_NAME,m.INFOTYPE,V.NAME,rank()
over (partition by B1_NAME,B2_NAME,B3_NAME order by DATUM desc ,MSEC desc,CNT desc) currentRank
from MESSAGES m,INTYDE i,VANAME v
where DATUM <=SYSDATE and trim(B1_NAME)='{?B1Name}'
and trim(B2_NAME)='{?B2Name}'
and m.INFOTYPE=i.INFOTYPE
and i.VALUE_NAME_NUMBER = v.VALNUM) where currentRank=1
I needs to pass cmbination of B1Name and B2Name from main report. I created a formula like
formula=Join({?B1Name},{?B2Name}),'|'); But this is showing some error.
and How I will substitute this in my command . As I new to Crystal XI help expected. -
Data Selection for report based upon a 'Prompt Value'
I want to report information in my report based upon a 'user input prompt value'
for example:
'Enter Shareholder Selection - A-Active, I-Inactive, B-Both Active and Inactive'
if the user enters 'A', the report selects only active shareholders
if the user enters 'I', the report selects only inactive shareholders
if the user enters 'B' the report selects all shareholders, active and inactive
the field in the database that this based upon is their total share value.
if this field is greater than zero (>0) they are considerd 'active'
if this field is equal to zero (=0) they are considered 'inactive'.
I have tried creating some type of filter, but am not having any luck.
I saw a few examples within the forums that I have tried without any luck....unfortunately most of the examples I've seen are base one only two choices.
I'm sure I need to create some type of 'independant varible' but am not sure how to do that either.
Any suggestions would be appreciated.
Thanks.Hi Daryl,
I Tried this unsuccessfully in DESKI . We can't Eliminate Rows having Empty Measure Values or Measure with 0 as values using Table Level Filter as FIlter can't FIlter rows based on Prompt value selection dynamically. Filters filter rows at a time and not based on 3 condition as Active, Inactive and Both. thus filters are of no use.
I Tried this in WEBI, and it is working perfectly you donu2019t have to create any Object in Universe, you can do it using function UserResponse() at report level.
Hence if you are comfortable using WEBI for Generating this report then Follow the steps.
1. Create Report With Name and Shares Object. It will display all Shareholder Names and No.of shares they hold.
2. Use Status Object in Query filter, use condition as u201CEqual Tou201D and Select prompt. It contains Active, Inactive and Both as values.
3. Report will Display all Shareholder names and No. of shares like 45, 789, 0, 4562 where 0 is inactive Shareholder and all other are active shareholder.
4. Create Variable using Formula.
=If(UserResponse("Enter Status:")="Active" And [Shares]>0;[Shares];If(UserResponse("Enter Status:")="Inactive" And [Shares]<=0;[Shares];If(UserResponse("Enter Status:")="Both";[Shares])))
5. Remove Shares Object from the report and Put Variable created with Names of Shareholders.
6. Select Table-> Properties-> Display-> Uncheck the Option u201CShow Rows with Empty Measure Valuesu201D
7. Report will display Value correctly as per your Prompt value selection.
I Hope this Helpsu2026
Thanksu2026
Pratik -
Parameter weirdness: Report not using user selected parameter value
I am writing my first report and cannot for the life of me figure out how to deal with this issue.
When I call a report and pass the parameters in, it appears that the user cannot then change the parameter values and run the report again even though the parameters are displayed. When user hits run report, the values revert to what was passed in by original
call.
Scenario
Report B has Parameter Period : Month, Quarter, Year displayed in a drop down list.
Report A calls Report B and passes it the parameter: Quarter.
Report B loads. User now changes parameter to Year via the drop down parameter list and hits Run Report.
Instead of loading the report with user selected value (Year), it reverts back to the parameter it was called with, Quarter.
I have tried changing the refresh option on the parameter to always, but no joy.
The only way that seems to work is to put textboxes on the report to change the parameter.
How can I stop this behaviour, and use the users new selection.
This should be really straight forward, and its driving me nuts that its not allowing the user to change the parameters
Any help would be much appreciated.
Thanks JonHi Jon,
Did you use SSRS 2012? Based on my test, the issue is occurred in SSRS 2012 Business Intelligence Development Studio (BIDS). When we deploy the report to report server, it will disappear.
In this situation, we can add another duplicate parameter to work around this issue. Please add two parameters in the report, and then hide one of the parameter. We can pass the parameter value to the hide parameter. If we want to select other values, we
can change the visible parameter values.
Alternatively, I recommend you that submit this suggestion at
https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
level of service provided.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support
Maybe you are looking for
-
Hi All, I am creating a comment box in my training tracking tool. General idea was something like that : 1. click icon -> comment box appear 2. enter text -> click 'ok' or 'cancel' button -> close comment box and add to flash coockie. 3. change icon
-
Can i retrive lost edited photos in apature?
Please help! I imported photos from a memory card to aperture. When asked if I wanted to delete the photos off my memory card I said no. I then spent several hours editing those photos. I then pulled the memory card out, took more photos, uploaded th
-
Feature Request: Add option to not have artboard name saved with file name
Please give us an option to turn off the artboard name being appended to the filename. I work in an environment where I have to do a lot of versions and very specific filenames that are given to authors. I like using artboards, but currently, the art
-
Aperture 2 Library not Showing in iPhoto
I am trialng Aperture 2. Photos I put in the trial library, do not appear in the Show Aperture Library option in iPhoto. The photos are also not availabe for upload to iPhone through iTunes. I have all the Preview preferences checked including 'share
-
my ipod cant run apps, i dont know why.. the game run but then it turn back to the menu everytime i try to play my ipod. someone help me please.. thanks