Is there a way to adjust Parameter Dropdown control Size/Length of a report so that it would no longer display a scrollbar?
Thanks,
JosephSorry, this is not a customizable property.
-Danielsql
Is there a way to adjust Parameter Dropdown control Size/Length of a report so that it would no longer display a scrollbar?
Thanks,
JosephSorry, this is not a customizable property.
-Danielsql
Is there a way to adjust Parameter Dropdown control Size/Length of a report so that it would no longer display a scrollbar?
Thanks,
JosephSorry, this is not a customizable property.
-Daniel
If it is ok to put them all into one textbox, you could do this:
=Fields!Address_name.Value
& chr(10) & Fields!Address1.Value
& IIf(Len(Fields!Address2.Value) > 0, chr(10) & Fields!Address2.Value, "")
& chr(10) & Fields!Address_city.Value & ", " & Fields!Address_State.Value & " " & Fields!Address_PostalCode.Value
If they have to have their own textbox and you just want to move it up if the Address2 is empty, then you could try something like this.
In the expression for the Address2 textbox:
=IIf(Len(Fields!Address2.Value) > 0, Fields!Address2.Value, Fields!Address_city.Value & ", " & Fields!Address_State.Value & " " & Fields!Address_PostalCode.Value)
Then, in the expression for the City/State/Postal Code:
=IIf(Len(Fields!Address2.Value) > 0, Fields!Address_city.Value & ", " & Fields!Address_State.Value & " " & Fields!Address_PostalCode.Value, "")
Hope this helps.
Jarret
|||Thanks mate, I'll give it a try.!
What does "Len" do?
|||Len gives you then length of the object you pass in. In this case, if the Address2 is NULL or an empty string, Len will return 0 and it will be skipped with the logic in the code.
Let me know if that fixes your issue.
Jarret
|||I see, thanks for the info. I will try this in about an hour or so, I'll post back and give you an update.
Thanks again Jarret,
Bill
i want to add vales in a query
this is my scenario (how can i add the price column values and display as one record) ex. 222 17
table = table1
tep1 price (column)
222 5
222 2
222 10
SELECT SUM(price) FROM table1 WHERE tep1=222
Or
SELECT SUM(price) FROM table1 GROUP by tep1
The first will sum for just the 222 record, the second will sum for each unique tep1.
|||SELECT tep1, SUM(price) AS "Total" FROM table1 GROUP BY tep1
vantages for performance,Hi everyone, I am trying to get this to work, but I know its all screwed up. I want Fields!PERCENT_OF_STD.Value to display red if its less than 100% or greater than 200%. If its neither, then just be plain black. This is what I came up with:
=(Fields!PERCENT_OF_STD.Value >= 200%, "RED", (Fields!PERCENT_OF_STD.Value <= 99%, "RED"))
Thanks,
Abz
abz_26 wrote:
Hi everyone, I am trying to get this to work, but I know its all screwed up. I want Fields!PERCENT_OF_STD.Value to display red if its less than 100% or greater than 200%. If its neither, then just be plain black. This is what I came up with:
=(Fields!PERCENT_OF_STD.Value >= 200%, "RED", (Fields!PERCENT_OF_STD.Value <= 99%, "RED"))
Thanks,
Abz
Try this:
=(Fields!PERCENT_OF_STD.Value >= 200% OR Fields!PERCENT_OF_STD.Value <= 99% , "RED", "BLACK")
|||Aren't you forgetting the function name? Also, I suspect the percentage values come back as decimal 1 or 2 and is then formatted as a %.
Such a comparisson does not make sense x = 200% because 200% is the formatted value. Try this:
If your percentages come back as 1 or 2 then:
=Iif(Fields!PERCENT_OF_STD.Value >= 2 OR Fields!PERCENT_OF_STD.Value < 1 , "RED", "BLACK")
If your percenatges come back as the actual umber i.e. 100 or 200 then:
=Iif(Fields!PERCENT_OF_STD.Value >= 200 OR Fields!PERCENT_OF_STD.Value < 100 , "RED", "BLACK")
Sql Activity log backup,sql backup,sql log backup