logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
scott9677  
#1 Posted : Friday, May 10, 2019 2:57:16 PM(UTC)
scott9677

Rank: Advanced Member

Groups: Registered
Joined: 5/18/2018(UTC)
Posts: 40

Thanks: 2 times
I am writing a report and there are a few tables I'm doing an inner join to and few tables I'm doing an outer join to.

The problem is that the builder is making one of the tables that I'm doing an outer join to the 'parent' table and causing me to miss a bunch of my data.

I've tried making the joins one direction and putting the parent table in the 'join tables to avoid'. Is there any alternative other than rearranging the 'from' section in the SQL query?

Thanks...
epf  
#2 Posted : Friday, May 10, 2019 5:40:19 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Difficult to say, the engine to build the joins is not very simple,
as you say rewriting the 'From Clause' seems the best.

however if you make a sample with Northwind, we can have a look.... to see if we can enhance this.
Users browsing this topic
Forum Jump  
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.