Skip to Content
Former Member
Oct 21, 2011 at 09:22 PM

One-to-many table linking


Hi all,

I'm trying to write a report with multiple one-to-many table links. The issue is I only want a single record from the linked tables. The main table is an item table and the linked tables are issue and receipt. I want to display information from the last issue record and the last receipt record along with the item information. Not sure how to restrict the joins to just a single record (also need to sort desc on dates in the linked tables). Does this require the use of a view? or a custom sp?

Thanks for taking your time to help.