zavala
02-16-2007, 08:37 AM
Hey all,
This question came in through email.
--------------------------------------------------
I have an Access database that is used to keep track of Alumni trips and passengers going on trips.
It is an old database with several complicated expressions and relationships.
I think the problem lies in the trip count expression in the query.
Here is the expression that is used to count travelers for each trip.
expTravCount: Sum(IIf(([SpouseNotTravelWith]=True Or [SpouseLastName] Is Null Or [Travnottravelwith]=True),1,2)) I have created a query that shows all the trips that are taken between July 1, 2006 and June 30, 2007 (fiscal year).
When I created the query it shows the trips that have passengers already signed up, but will not show the trips that do not have passengers yet.
The problem with this expression is that it will not show the trips that do not have any passengers yet.
Can you help? Do you know of someone who can help?
---------------------------------------------------------------
Thanks
Catherine
--
This question came in through email.
--------------------------------------------------
I have an Access database that is used to keep track of Alumni trips and passengers going on trips.
It is an old database with several complicated expressions and relationships.
I think the problem lies in the trip count expression in the query.
Here is the expression that is used to count travelers for each trip.
expTravCount: Sum(IIf(([SpouseNotTravelWith]=True Or [SpouseLastName] Is Null Or [Travnottravelwith]=True),1,2)) I have created a query that shows all the trips that are taken between July 1, 2006 and June 30, 2007 (fiscal year).
When I created the query it shows the trips that have passengers already signed up, but will not show the trips that do not have passengers yet.
The problem with this expression is that it will not show the trips that do not have any passengers yet.
Can you help? Do you know of someone who can help?
---------------------------------------------------------------
Thanks
Catherine
--