I am getting an message that says "Too few parameters, Expected 2 when I run the following expression.
Advise on what it is looking for that I am not supplying?
strColorTemp = "Special Color"
Set rst1 = dbs.OpenRecordset("SELECT Color.*, IIf([Color].[Color]=[" & strf1Color & "],[" & strf1Color & "],[" & strColorTemp & "]) AS Expr1 " & _
"FROM Color;")
strf1Colora = rst1![Expr1]
Thanks
Advise on what it is looking for that I am not supplying?
strColorTemp = "Special Color"
Set rst1 = dbs.OpenRecordset("SELECT Color.*, IIf([Color].[Color]=[" & strf1Color & "],[" & strf1Color & "],[" & strColorTemp & "]) AS Expr1 " & _
"FROM Color;")
strf1Colora = rst1![Expr1]
Thanks