I have 4 tables:
1. Account
2. Customer
3. Sundry
4. Transactions
Account to Customer = Inner join
Account to Sundry = Inner Join
Account to Transactions = Left Outer
I am trying to return data from the Account table whether the {Transactions.tran-code} = 'SC3000' or not.
I think I have found the source of the issue as per below but I don't know how to fix it.
Selection Criteria:
Now I know that:
Causes the Left Outer Join to act like an Inner Join. Which is what is causing nothing to return
I know the solution to this is SQL is to place:
Into the FROM statement not the WHERE statement but Crystal 9 does not allow me to edit the SQL statement.
How do i get round this issue?
/Nice
1. Account
2. Customer
3. Sundry
4. Transactions
Account to Customer = Inner join
Account to Sundry = Inner Join
Account to Transactions = Left Outer
I am trying to return data from the Account table whether the {Transactions.tran-code} = 'SC3000' or not.
I think I have found the source of the issue as per below but I don't know how to fix it.
Selection Criteria:
Code:
{Account.client-code} = {?Code}
and {Account.dt-datinstr} in {?Date_range}
and {Customer.dr-rectype} in 'D'
and split({sundry.si-logical},";")[12] = "0"
and ({Transactions.tran-code} = 'SC3000')
Code:
and ({Transactions.tran-code} = 'SC3000')
Causes the Left Outer Join to act like an Inner Join. Which is what is causing nothing to return
I know the solution to this is SQL is to place:
Code:
and ({Transactions.tran-code} = 'SC3000')
Into the FROM statement not the WHERE statement but Crystal 9 does not allow me to edit the SQL statement.
How do i get round this issue?
/Nice