Apply conditional formatting depending on an other field's value - database

On the field DaysSinceRequest of an an Access' Form, I am applying a conditional formatting depending on its value in eavch record, that part is fine.
But how could I tell "Apply the conditional formatting to the field DaysSinceRequest ONLY if the field DatePartReceived is empty/null" ?
Is there a way to do this ?
PS : Just to show that I've done something before haters start down rating, here are the rules I've applied to the field DaysSinceRequest and the result in the Datasheet View
Tell if if my post is not clear enough, thanks

Just use Expression Is instead of Field Value Is and in Expression field you can use any expression, which evaluates to Boolean value. In your case you can use IsNull function

Related

xpath for specific code in WebDriverSampler

I have a page with a set of fields I need to edit via WebSamplerDriver.
The difficulty is that field id values are not constant and change from time to time.
So, if I use an xpath like //input[#id='TextField13'],
it works only very limited time while id is actual.
Code snippet is below:
I suppose I need to describe xpath for an element with id='TextField13' (which is not a constant) with relevance to the text "First name" (always the same text) in another branch of parent tag (i.e. label).
What is the right way to do that?
Will be appreciated for tips.
Try this XPath to select input field based on label value
//label[.="First name"]/following::input
The answer is:
//label[contains(text(),'First name')]//following:://input

angular way to use number with comma and dot to calculate another value

I am using angularJS and Angular Material Design.
For one of the amount field i have input box as below which displays calculated field.
Whenever the value is stored it is stored as comma separated i.e. 19,999.9984 which is not a problem for me.
But whenever i use this value for another calculation, i get NaN.
$scope.txn.toUnits = $scope.txn.toAmount / $scope.txn.toPrice
Above expression end up with NaN since there is a comma in toAmount value 19,999.9984
Is there any angular way to resolve this ?
You could use the parseFloat function
This is a best solution to do this if it interests you :
http://numeraljs.com/

Visibility IIF statement rdlcreports

I have a report with a textfield "copy" in it. This should be hidden when my dataset field "isPrinted" is false.
So i tried this one under the expression of the hidden option of the textfield property:
=IIf(First(Fields!isPrinted.Value , "DataSet1")=false)
Obviously im doing something wrong, but I have no idea what.
Anyone who would be so kind to help me in the right direction here ?
Hidden is expecting a result to return TRUE if you want it hidden. The IIF() is typically
IIF( some condition, return this if true, return this if false ).
So, if you want the label HIDDEN, you probably want to remove the IIF(). If the "isPrinted.Value" is a boolean, you MIGHT just be able to do based on something like
=First(Fields!isPrinted.Value, "DataSet1")
or (! logical NOT) if the reverse
=!First(Fields!isPrinted.Value, "DataSet1")

Can i use or logic in ng-when

I would like to do something like this:
<ANY ng-switch-when="matchValue1 || matchValue2">...</ANY>
To simplify my expression, currently I do that same thing for matchValue1 and matchValue2.
According to angular web site "Be aware that the attribute values to match against cannot be expressions. They are interpreted as literal string values to match against. For example, ng-switch-when="someVal" will match against the string "someVal" not against the value of the expression $scope.someVal."
Using ng-show would be useful in your case.

SSRS BIDS expression Show/Hide image based on passed through parameter

Is it possible to have an image available if a certain field is selected, in this case the parameter is #employeename, I only want the image that has been placed on the report to display if a certain value is true.
What is the syntax, field i am concerned with is employeename
The expression would be something like:
=IIf(Fields!employeename.Value = "Something", True, False)
You can have "Something" be a hard-coded value or another parameter. The key thing to remember is you have to access the .Value property.

Resources