M
Matt
I use the code listed below in a query. I want the output to be Double
format when the If statement is FALSE and string when it is TRUE. When I run
the query now all of the cells are string, If I replace the "-" with a zero
or NULL, the output will be Double format. How can I output both string and
Double?
IIf([Digging_GapOutput]![L-BrandCases]=0,"-",([Digging_GapOutput]![BrandCases]-[Digging_GapOutput]![L-BrandCases])/[Digging_GapOutput]![L-BrandCases]*100)
format when the If statement is FALSE and string when it is TRUE. When I run
the query now all of the cells are string, If I replace the "-" with a zero
or NULL, the output will be Double format. How can I output both string and
Double?
IIf([Digging_GapOutput]![L-BrandCases]=0,"-",([Digging_GapOutput]![BrandCases]-[Digging_GapOutput]![L-BrandCases])/[Digging_GapOutput]![L-BrandCases]*100)