I think I’m getting close. I wrote the expression as follows and placed it in the initial value.
IF(IN(LOOKUP(MAXROW(VPRAITbl, VPRAIDateEntered, [ID] = [_thisrow].[ID]), EmploymentTbl, ID, EmploymentStatus), LIST(“PartTime”,“Unemployed”)), LIST(True), LIST(True, false))
I did not initially get a error message until I save the expression and the app updated. At that point I got:
Column Name ‘Question7’ in Schema ‘VPRAITbl_Schema’ of Column Type ‘Yes/No’ has an invalid ‘Initial Value’ of ‘=IF(IN(LOOKUP(MAXROW(VPRAITbl, VPRAIDateEntered, [ID] = [_thisrow].[ID]), EmploymentTbl, ID, EmploymentStatus), LIST(“PartTime”,“Unemployed”)), LIST(True), LIST(True, false))’. The type of the Initial Value does not match the column type. Consider using ‘’ instead.
When i place the expression is the App Formula, I get the same error message.
When I place the expression in Valid if, I do not get an error message and when the condition is met, “No” or “False” is no longer an option in Question7, only “Yes” or “True”. This kind of works because Question7 is a required field and when “No” is removed, there has to be a resolution before you can move on.
I tried rewriting the expression to (see below) placing it in the initial value
IF(IN(LOOKUP(MAXROW(VPRAITbl, VPRAIDateEntered, [ID] = [_thisrow].[ID]), EmploymentTbl, ID, EmploymentStatus), LIST(“PartTime”,“Unemployed”)), True, False)
I do not get any error messages, but the expression does not work. I’ve tried rewriting every way I can think of and am just not finding the answer. What are your thoughts and suggestions?