I have a query linked to the following table which I am trying to extract data from.
t_FDA_Product_Class_Code_Compliance_Date
ClassCode Description
0 0
1 1
2 2
3 3
9 9
Blank 0
F F
FALSE 0
N N
U U
The expression we are trying to use is as follows:
Expr1: IIf([t_FDA_Product_Code_List]![Product Code] Is Null,0,iif([t_FDA_Product_Class_Code_Compliance_Date]![Description] IN (F,N,U), then ([t_FDA_Product_Class_Code_Compliance_Date]![Description] ELSE
Max(t_FDA_Product_Class_Code_Compliance_Date]![Description])))
Where if the value from the table is blank.. then zero
if IN (F,N,U) then (F,N,U)
If it is a number, then return the max value of that number.
I get "the expression you entered contains invalid syntax, you may have entered an operand without an operator"
t_FDA_Product_Class_Code_Compliance_Date
ClassCode Description
0 0
1 1
2 2
3 3
9 9
Blank 0
F F
FALSE 0
N N
U U
The expression we are trying to use is as follows:
Expr1: IIf([t_FDA_Product_Code_List]![Product Code] Is Null,0,iif([t_FDA_Product_Class_Code_Compliance_Date]![Description] IN (F,N,U), then ([t_FDA_Product_Class_Code_Compliance_Date]![Description] ELSE
Max(t_FDA_Product_Class_Code_Compliance_Date]![Description])))
Where if the value from the table is blank.. then zero
if IN (F,N,U) then (F,N,U)
If it is a number, then return the max value of that number.
I get "the expression you entered contains invalid syntax, you may have entered an operand without an operator"
Last edited: