Joined: 28 Jan 2009
Online Status: Offline
Posts: 1
Topic: Selecting records-joining tables Posted: 28 Jan 2009 at 10:20pm
I have two address tables: customerbillto and shipto. Need to create a report that finds all customerbillto records that don't have any shiptos linked to them. Right now I do a left outer join for the two tables and the report displays all customer records, both those that do and don't have shipto records. How do I set up the selection criteria so the report only selects the customer records that do not have any shiptos, so I don't have to look at the remaining records. Essentially what I want is only the billto records that do not have any shipto records linked to them.
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Posted: 29 Jan 2009 at 6:28am
I would apply a filter...Selection Formulas/Record. ISNULL({linking field}) should do. This would be the field in the 'right' table for a left outer join...if there is a matching record, it won't be null, and will be skipped in the report.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum