I have a two input type Date. I want to save selected values in variables and on the next page I want to display them. When I set this variables to "text on widget" and on the next page set text to value I have no results. In others example like dropdown list or input type text everything works fine.
you should select setText to "value of variable" instead of setText to "value". Then choose the variable name that you had defined in the first page. thanks
Related
Is there a way to change the text in a dashboard based on a value?
At its most basic, I want to be able to plug in the word 'increased' or 'decreased' based on a change from year to year for a report.
If you mean the free-floating Text object from the same menu as vertical / horizonal containers, Blanks, etc. then you can only use parameters and a few "special" values like Workbook Name.
However, you can use a worksheet as a textbox instead. Just make sure you clear the default formatting (borders, etc.) and put your calculated field that resolves into "increased" / "decreased" on the Text mark. In the same way you can add up or down arrows using CHR() function and set custom colours (by creating two calculated fields that resolve into "increased" and "" and "decreased" and "")
My summary field displays dollars. If the value is zero, I want to display a dash without the $ symbol. I currently have in the custom style settings to Show Zero Values as a "-", however, what I get in the report is "$-"
I see that there is a conditional formatting option, but I'm not sure how to refer to the summarized field in the code. How can I accomplish this?
Right click on the given field, go to Format Editor, and select Custom Style. Then click Customize... and Enable Currency Symbol. Click the X+2 button and enter the following formula:
If {yourFieldName} >= 0 Then
crFloatingCurrencySymbol
Else
crNoCurrencySymbol
If you prefer a fixed currency symbol, you can use crFixedCurrencySymbol instead of crFloatingCurrencySymbol.
I am looking for a way to set a checkbox field to checked via a mail merge. I would like to avoid using a macro if possible. The document I was provided has a check box form field with a bookmark named "SUBMIT". Is there a way to pass in data (CSV file) that will cause the checkbox to be checked? Perhaps a data field named SUBMIT whose value is true, etc?
If that is not doable, I was considering just passing an "X" or some character that represents a check mark and overlaying the field.
Yes, this should be doable using field codes. You can have an IF field display a font symbol or a graphic for True / False based on the content of a field in the mail merge data source.
For the sake of discussion, let's say the field name in the data source is "Submit". Insert a pair of field brackets by pressing Ctrl+F9 and create the IF field structure, inserting the MergeField from the mergefield list:
{ IF { MergeField "Submit" } = 0 "" "" }
Note that I'm checking for "false" because this value is predictably 0, while True might be 1 or -1.
Now position the cursor between the first pair of double-quotes and insert the "not checked" graphic or symbol. For example, you could use Word's Insert/Symbol dialog box to insert a WingDings box. Repeat for the "checked" box, using a checked symbol or graphic.
Alt+F9 to toggle the field codes back to display and test.
Does anyone know if its possible to create a parameter in SSRS that will display a Textarea instead of a Texbox and let the user type in a few paragraphs of text, including carriage returns?
I've a requirement to create a report that will end up as data with a cover letter. A section of the cover letter needs to have a block of text, which the user can specify when setting the parameters.
I can create a 'text' parameter which displays a Textbox, but that does not accept carriage returns. I have tried to copy and paste text from Word, but then it only takes the first line of text.
Has anyone got any suggestions? So far I've not managed to find any solutions online.
Thanks in advanced.
Sorry problem solved,
I changed the text parameter so that it could accept multiple values. Then on the textbox that displayed the text on the letter I changed the expression to read:
=Join(Parameters!FreeText.Value, vbcrlf)
Sorted.
I have a Crystal Report which is viewed via a CrystalReportViewer control on an .aspx page (using VS2008).
The report has two data-driven FieldObjects (which can contain a variable number of chars) which I would like to display on the same line beside each other.
Problem is when the text in the first FieldObject is too long it overlaps the text in the second FieldObject.
I have tried setting the 'CanGrow=True' and 'MaxNumberOfLines=1' on the first FieldObject to 'push' the second FieldObject further to the right, but this didn't work.
How do I get the second FieldObject to always display immediately after the first FieldObject regardless of the length of the text in the first?
Cheers in advance of any knowledge you can drop.
you can add a text object to the report. And while editing the text of the text object, drag the field you want to show from the object explorer into the text box. Then hit space, then drag the second field in to the same text box. Your two fields will always be one space a part. You could, of course, add more spaces or any other text you want.
Or you can create a function which returns field1 + " " + field2 and add the function to the report.