I am currently in the process of altering my dbase so that when a user starts up it shows only those records which are due for action and which they have last worked on.
I have a query that selects the date filtered records fine. What I need is a query or code that looks at the [Comments History![Entered By:] field of my history table finds whoever worked on the record last and shows the appropriate records in the Site information form. My Site and History tables are linked by SiteID in a one-to-many relationship.
The only thing I have come up with so far is a query that selects all the Site records however many times that the current users name appears in the associated CommentHistory.EnteredBy field. This results in multiple copies of the same record including those in which the CurrentUser was not the last to use it.
I hope I'm making myself clear, it's seems a bit of a confused issue to me.
Thanks in advance for your help.
aexley
QFTD: "I loved her sturdy thighs, Her glassy eyes, I loved her permanent lok of surprise! She was my ru-uh-bber woman and I loved so." - Mitch Benn, Comedian
I have a query that selects the date filtered records fine. What I need is a query or code that looks at the [Comments History![Entered By:] field of my history table finds whoever worked on the record last and shows the appropriate records in the Site information form. My Site and History tables are linked by SiteID in a one-to-many relationship.
The only thing I have come up with so far is a query that selects all the Site records however many times that the current users name appears in the associated CommentHistory.EnteredBy field. This results in multiple copies of the same record including those in which the CurrentUser was not the last to use it.
I hope I'm making myself clear, it's seems a bit of a confused issue to me.
Thanks in advance for your help.
aexley
QFTD: "I loved her sturdy thighs, Her glassy eyes, I loved her permanent lok of surprise! She was my ru-uh-bber woman and I loved so." - Mitch Benn, Comedian