R
ruthie2012
This is very strange. When I build an IIf expression in query design view
access (2003 first, and then upgraded to 2007) is changing the commas to pipe
characters. I then get 'invalid use of pipe character in query expression'.
If I change the pipe characters to commas I then get 'the expression you
entered contains invalid syntax'.
I can enter the expression in sql view and the query will work, but if I go
back to design view I get the 'invalid pipe character' error and it won't let
me go back to the sql.
If I use the expression builder it gives the IIf template as IIf («expr»|
«truepart»| «falsepart») - i.e. it put the pipe characters in instead of
commas.
Also I can't typre the expression directly into the Field row in query
design. I get the same syntax error.
Even weirder - this is only happening on one pc. My other one (same spec) is
fine. Help!!! Any ideas?
access (2003 first, and then upgraded to 2007) is changing the commas to pipe
characters. I then get 'invalid use of pipe character in query expression'.
If I change the pipe characters to commas I then get 'the expression you
entered contains invalid syntax'.
I can enter the expression in sql view and the query will work, but if I go
back to design view I get the 'invalid pipe character' error and it won't let
me go back to the sql.
If I use the expression builder it gives the IIf template as IIf («expr»|
«truepart»| «falsepart») - i.e. it put the pipe characters in instead of
commas.
Also I can't typre the expression directly into the Field row in query
design. I get the same syntax error.
Even weirder - this is only happening on one pc. My other one (same spec) is
fine. Help!!! Any ideas?