Hi Julie,
Thank you for your response.
I have run the above and it looks like it doesn't work exactly right - see the attached screenshot![screen.png]()
You will note that item codes are duplicated with different dates - I am after a query that I can run to get the earliest in stock date only.
Regards
Rick