David Ball
Registered User.
- Local time
- Today, 21:53
- Joined
- Aug 9, 2010
- Messages
- 230
Hi,
I have a query based on two other queries.
The source queries show TotalCost to-date for activities for the week, with the field ActivityNumber being the unique identifier. There is a query containing costs for the week just ended and another identical query showing costs for the week before. The idea is to get the difference between total cost to-date from the week just ended and total cost to-date from the prior week.
The two source queries are linked on the ActivityNumber fields.
The problem I have is that sometimes, though rarely, the ActivityNumber is changed for an activity.
In these cases the cost no longer appears in my query results because the ActivityNumber does not appear in both source queries.
I want to show all cases where there is an ActivityName in either source query. It seems that I only have options to show all from one query, all from the other, or where both are equal. None of these options will show me values for every ActivityName in either query, even if it is not in the other.
How can I do this in a query?
Thanks very much
Dave
I have a query based on two other queries.
The source queries show TotalCost to-date for activities for the week, with the field ActivityNumber being the unique identifier. There is a query containing costs for the week just ended and another identical query showing costs for the week before. The idea is to get the difference between total cost to-date from the week just ended and total cost to-date from the prior week.
The two source queries are linked on the ActivityNumber fields.
The problem I have is that sometimes, though rarely, the ActivityNumber is changed for an activity.
In these cases the cost no longer appears in my query results because the ActivityNumber does not appear in both source queries.
I want to show all cases where there is an ActivityName in either source query. It seems that I only have options to show all from one query, all from the other, or where both are equal. None of these options will show me values for every ActivityName in either query, even if it is not in the other.
How can I do this in a query?
Thanks very much
Dave