Query Help needed please!
- From: fgwiii <fgwiii@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 05:59:01 -0700
To Whom It May Concern:
I have a table with the following fields; dbo_Visits.Session_Hx_ID,
dbo_Visits.Visit_ID & dbo_Visits.Completed.
The database is setup so that you will have one dbo_Visits.Session_Hx_ID
that is associated with one or more dbo_Visits.Visit_IDs.
What I am trying to do is to exclude any dbo_Visits.Session_Hx_ID where the
associated dbo_Visits.Visit_ID does not contain -1 in dbo_Visits.Completed
field.
Sample data are as follows;
Session_Hx_ID Visit_ID Completed
914 2395 -1
915 2397 0
915 2420 0
915 2424 -1
915 2428 -1
Thank you f or your assistance.
.
- Follow-Ups:
- RE: Query Help needed please!
- From: Chaim
- RE: Query Help needed please!
- Prev by Date: Query for 'confirmation'
- Next by Date: Re: Use of Checkbox as Criterion in Query Iput Box
- Previous by thread: Query for 'confirmation'
- Next by thread: RE: Query Help needed please!
- Index(es):
Relevant Pages
|