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  

Fields that don't satisfy criteria



 
 
Thread Tools Display Modes
  #1  
Old January 30th, 2010, 02:16 PM posted to microsoft.public.access.reports
tamashii
external usenet poster
 
Posts: 1
Default Fields that don't satisfy criteria

Hi,

How do data for certain fields appeared only when it meets the criteria set?

My report has 5 fields, say A, B, C, D and E. I've set a criteria for a
hidden field ZZ in the query: Like "*property*"

Currently, those records with any of the 5 fields that met the criteria
appear in the report. If only A and D of Record (1) satisfy the criteria set,
how do I make the data in B, C and E not appeared? Similarly, if only B and E
of Record (2) meet the criteria, data for A, C and D should not appear in the
same report.

Any advice is appreciated. Thanks!
  #2  
Old January 30th, 2010, 05:39 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Fields that don't satisfy criteria

Queries don't normally work like that. They either display values in a column
or don't. You would need code or expressions in your report if you wanted to
selectively hide or disply a text box.

Your request suggests an un-normalized table structure but I could be wrong.
Perhaps if you showed us some actual records and how you would like to see
them in a report, someone could provide a solution.

--
Duane Hookom
Microsoft Access MVP


"tamashii" wrote:

Hi,

How do data for certain fields appeared only when it meets the criteria set?

My report has 5 fields, say A, B, C, D and E. I've set a criteria for a
hidden field ZZ in the query: Like "*property*"

Currently, those records with any of the 5 fields that met the criteria
appear in the report. If only A and D of Record (1) satisfy the criteria set,
how do I make the data in B, C and E not appeared? Similarly, if only B and E
of Record (2) meet the criteria, data for A, C and D should not appear in the
same report.

Any advice is appreciated. Thanks!

 




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 11:00 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.