March 23, 2022 at 9:44 am
Hello all I am writing the following condition to hide the textbox based on a condition but some how it is not working
I am able to set the value
=IIF(FormatDateTime(Parameters!LiveDt.Value,2) < FormatDateTime(Parameters!visitdt.Value,2), "True", "False")
=FormatDateTime(Parameters!LiveDt.Value,2) < FormatDateTime(Parameters!visitdt.Value,2)
I am able to see the text correctly based on condition but unable to hide it
March 23, 2022 at 2:08 pm
You are using two parameters (presumably they have a date data type) and converting them to strings using FormatDateTime: in other words you aren't comparing dates, you are comparing text. Remove the FormatDateTime and just compare Parameters!LiveDt.Value and Parameters!visitdt.Value
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy