I'm doing this :
SELECT [Table850].[IdEngagementA] as Engagement1, [Table850].[Description] as Description1
FROM Table850
WHERE ((([Table850].[IdEngagementA])="00-000000-00"))
UNION SELECT [Table807].[IdEngagementA] as Engagement1, [Table807].[Description] as Description1
FROM Table807
WHERE ((([Table807].[IdEngagementA])="00-000000-00"));
The problem is that it only give me the result from the first select. I know that the problem come from my WHERE since if I take out the second WHERE it give me result from the second select
Why I can,t do that is that it give me all idEgagementA from the second table and I just want the 00-000000-00 one.
How can I modify my query so I can get result from both select as well as having my WHERE
SELECT [Table850].[IdEngagementA] as Engagement1, [Table850].[Description] as Description1
FROM Table850
WHERE ((([Table850].[IdEngagementA])="00-000000-00"))
UNION SELECT [Table807].[IdEngagementA] as Engagement1, [Table807].[Description] as Description1
FROM Table807
WHERE ((([Table807].[IdEngagementA])="00-000000-00"));
The problem is that it only give me the result from the first select. I know that the problem come from my WHERE since if I take out the second WHERE it give me result from the second select
Why I can,t do that is that it give me all idEgagementA from the second table and I just want the 00-000000-00 one.
How can I modify my query so I can get result from both select as well as having my WHERE