Hi,
in a previous post i prepared (with help)a query for an update query. Here is the original query code before the update:
SELECT Calls.ContactID, Min(Calls.CallDate) AS [date], Contacts.Source
FROM Contacts INNER JOIN Calls ON Contacts.ContactID = Calls.ContactID
WHERE Contacts.Source = 'website'
GROUP BY [Calls.ContactID], Contacts.Source;
When i click update query from the query builder menu, the group by min disappears and does not function when i run the update. How would i make this work using the min?
Here's my update query code:
UPDATE Contacts INNER JOIN Calls ON Contacts.ContactID = Calls.ContactID SET Contacts.[Date received] = [calls].[calldate]
WHERE (((Contacts.Source)='website'));
thanks!
in a previous post i prepared (with help)a query for an update query. Here is the original query code before the update:
SELECT Calls.ContactID, Min(Calls.CallDate) AS [date], Contacts.Source
FROM Contacts INNER JOIN Calls ON Contacts.ContactID = Calls.ContactID
WHERE Contacts.Source = 'website'
GROUP BY [Calls.ContactID], Contacts.Source;
When i click update query from the query builder menu, the group by min disappears and does not function when i run the update. How would i make this work using the min?
Here's my update query code:
UPDATE Contacts INNER JOIN Calls ON Contacts.ContactID = Calls.ContactID SET Contacts.[Date received] = [calls].[calldate]
WHERE (((Contacts.Source)='website'));
thanks!