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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#Error on field



 
 
Thread Tools Display Modes
  #1  
Old August 23rd, 2004, 10:01 PM
Andy G
external usenet poster
 
Posts: n/a
Default #Error on field

I have this statement on a field in a report.

=IIf((IsNull([ALUMNI_Minor])),[ALUMNI_Major],[ALUMNI_Major] & "/" &
[ALUMNI_Minor])

If the person doesn't have a minor then just list the major, if they do have
a minor then insert a / inbetween the two. I get #Error. The name of the
filed that this expressision resides is "txtMajorMinor", I've also checked
and I do have ALUMNI_Major and ALUMNI_Minor in the query for the report.

Anyone...
Merci


  #2  
Old August 24th, 2004, 12:37 AM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

In reports, if you want to use a field in an expression like this, you also
need to put a control (bound to the desired field) in the same section as
the control that is using this expression. To not have this other control be
visible, set its Visible property to No in design view.

--

Ken Snell
MS ACCESS MVP

"Andy G" wrote in message
...
I have this statement on a field in a report.

=IIf((IsNull([ALUMNI_Minor])),[ALUMNI_Major],[ALUMNI_Major] & "/" &
[ALUMNI_Minor])

If the person doesn't have a minor then just list the major, if they do

have
a minor then insert a / inbetween the two. I get #Error. The name of the
filed that this expressision resides is "txtMajorMinor", I've also checked
and I do have ALUMNI_Major and ALUMNI_Minor in the query for the report.

Anyone...
Merci




 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2002 - Many to Many Relationships Lynn General Discussion 5 July 8th, 2004 12:55 AM
How to define a field to aid searching Bam Bam General Discussion 3 July 7th, 2004 07:05 PM
Supress blank lines in DOCPROPERTY field Mary Formatting Long Documents 10 May 25th, 2004 07:27 PM
Create table with field names based on the value of a field in another table. [email protected] Database Design 5 May 24th, 2004 02:32 PM
Pivot Table - Format of Date Field Michelle Worksheet Functions 1 February 3rd, 2004 07:56 PM


All times are GMT +1. The time now is 09:27 PM.


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