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 errors



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

I have had issues with using vertical bars when typing code in to the
expression builder( the expression builder uses them as default). When I
replace them with commas to try and get it to work. Different error but
same implied message - I am not using my commas correctly. Here is code
someone else wrote as the control source I am trying to add a new text box
with another value. Vertical bar error when I cut and paste the code but
works in the text box it is in. Am I missing a reference to get the vertical
bars to work?/ Help

code
=IIf(([Request Decision]="Approved")|([CountOfRequest Decision])|"")
  #2  
Old April 29th, 2010, 09:28 PM posted to microsoft.public.access
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Vertical bar errors

=IIf([Request Decision]="Approved", [CountOfRequest Decision], Null)
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"WuiChi" wrote:

I have had issues with using vertical bars when typing code in to the
expression builder( the expression builder uses them as default). When I
replace them with commas to try and get it to work. Different error but
same implied message - I am not using my commas correctly. Here is code
someone else wrote as the control source I am trying to add a new text box
with another value. Vertical bar error when I cut and paste the code but
works in the text box it is in. Am I missing a reference to get the vertical
bars to work?/ Help

code
=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 05:23 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.