A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Vertical Bar error



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2010, 08:00 PM posted to microsoft.public.access
WuiChi
external usenet poster
 
Posts: 4
Default Vertical Bar error

I have had issue with the vertical bar when building from the expression
builder. The expression builder uses vertical bars but errors when I run the
code. If I change it to commas different error but same implied reason. I
am not using my commas correctly. Here is code that works (someone else
built this, I am trying to reuse)but if I try to add the same code to a new
text box the vertical bar error occurs. Is the some sort of reference that I
should use to fix this?
Help?
=IIf(([Request Decision]="Approved")|([CountOfRequest Decision])|"")
  #2  
Old April 30th, 2010, 12:32 AM posted to microsoft.public.access
Arvin Meyer [MVP][_2_]
external usenet poster
 
Posts: 2,310
Default Vertical Bar error

Try:

=IIf(([Request Decision]="Approved"),([CountOfRequest Decision]),"")

Make sure that there is a value in [CountOfRequest Decision]
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access


"WuiChi" wrote in message
...
I have had issue with the vertical bar when building from the expression
builder. The expression builder uses vertical bars but errors when I run
the
code. If I change it to commas different error but same implied reason.
I
am not using my commas correctly. Here is code that works (someone else
built this, I am trying to reuse)but if I try to add the same code to a
new
text box the vertical bar error occurs. Is the some sort of reference
that I
should use to fix this?
Help?
=IIf(([Request Decision]="Approved")|([CountOfRequest Decision])|"")



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.