Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9182

Re: Creating Profile type report that hold fields with multiple values

$
0
0

Hi Jared,

 

Thanks for taking down memory lane that is Maximizer.  Nice to see their table structure hasn't been simplified in the last 20 years.

 

If I understand what's happening, you should only see 2 records and not 5.  That means your joins are creating duplicate records.  For now I'm going to skip over trying to optimize your query because I still have bad dreams of linking Maximizer tables.

 

There are a couple of ways to work around the duplicates, one is to create a group and instead of having your formula in the Detail section, put it in the Group Header.  The question is what would you create your group on that would get you a unique record?

 

If you know where the duplicates are coming from, create a Record Selection Formula that will remove the duplicates.

 

There is also the menu option Database | Select Distinct Records.  I've never really had success with this one but there's no harm in giving it a shot.

 

I would have you try and find which table or combination of tables is generating the duplicates but that requires playing with your links.  Normally I'd start by adding one table at a time and dropping one field onto the report.  If it doesn't repeat then add another table and field and repeat until you get your duplicates.  Once you know where they are coming from then you can either drop that table from your query or create a selection formula that removes the duplicates.

 

Good luck,

Brian


Viewing all articles
Browse latest Browse all 9182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>