hockeylvr
Technical User
- Nov 26, 2002
- 140
I'm trying to run qryNotes to just show the latest records for clients. Everything I've looked at points me to using "Last" or "Max" but I always get the error "You tried to execute a query that does not include the specified expressions expression 'clientid' as part of an aggregate function" Seems simple enough but can't figure out where I'm going wrong.
Thanks a lot for any help.
SELECT tblnotes.clientid, tblclients.lname, Last([tblnotes].[notedate]) As NoteDate, tblnotes.note
FROM tblclients INNER JOIN tblnotes ON tblclients.clientid = tblnotes.clientid;
Thanks a lot for any help.
SELECT tblnotes.clientid, tblclients.lname, Last([tblnotes].[notedate]) As NoteDate, tblnotes.note
FROM tblclients INNER JOIN tblnotes ON tblclients.clientid = tblnotes.clientid;