Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
bob8000 bob8000 is offline
external usenet poster
 
Posts: 1
Default Query Help - is there an ONLY function

Hi everybody

I would like to know how you define a query to return ONLY something
and not either, or.

Example

Company 1 supplies BOTH catagories (Domestic and Commercial)
Company 2 supplies ONLY Domestic

if you had two companies who supplied equipment and two catagories
(Domestic and Commercial). If these two companies supplied Commercial
equipment and one of these two ONLY supplied Domestic. How would you go
about displaying the one supplier that ONLY supplied both catagories.

But you don't know which company before you do the query so you would
not be able to have the company name as a criteria - if you see what I
mean

In this case the answer would be Company 1.

But how do you get Access to do this.

Any help would be great.

Thanks

BOB8000

  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Query Help - is there an ONLY function

You would use a query in Access. It would be necessary to know exactly what
is entered in the field to be able to advise the criteria to be applied.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"bob8000" wrote in message
ups.com...
Hi everybody

I would like to know how you define a query to return ONLY something
and not either, or.

Example

Company 1 supplies BOTH catagories (Domestic and Commercial)
Company 2 supplies ONLY Domestic

if you had two companies who supplied equipment and two catagories
(Domestic and Commercial). If these two companies supplied Commercial
equipment and one of these two ONLY supplied Domestic. How would you go
about displaying the one supplier that ONLY supplied both catagories.

But you don't know which company before you do the query so you would
not be able to have the company name as a criteria - if you see what I
mean

In this case the answer would be Company 1.

But how do you get Access to do this.

Any help would be great.

Thanks

BOB8000



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge Query - Works in Access; fails in Word Gary Stark Mailmerge 4 October 6th 05 07:57 PM
VBA function results in fields Robert Mulroney Microsoft Word Help 3 July 5th 05 09:03 AM
Word Compare and Merge Document Function EricM Microsoft Word Help 2 March 28th 05 11:53 PM
Mail Merge not running properly from Access Function but runs properly when opened manually Brian Alley Mailmerge 1 February 22nd 05 12:58 AM
Can't Open Data Source (Query) where criteria is defined by functi l_stocky Mailmerge 5 January 21st 05 03:01 PM


All times are GMT +1. The time now is 07:15 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"