Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making certain fields "invisible" in Queries

Status
Not open for further replies.

jeprox

Technical User
Aug 3, 2001
12
0
0
US
I have created a query for my Shipping Log.

In the standard order forms in Access, the Bill TO is usually the Ship To unless you enter a specific Ship To when entering the order.

From my query , I have both the Bill To and Ship To fields available.

In my actual report, I dont want the Bill To Address to come up if there is different Ship TO name.

Is there a command that I can type in the Criteria field?

Thank you very much.

JEP
 
You might help yourself with a modification of your query.
Add the following:

BillAddress: If([BillTo]=[ShipTo];[BillTo];"")
And refer to [BillAddress] instead of BillTo in your orderform / report.
This way, the BillTo will only have a value, when it is the same as the ShipTo; else it will be empty.

Does that help you?

Cheers,
MakeItSo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top