Hi,
Using CR8 connected thru' ODBC to a SQL server.
I have two tables, ACCOUNT and RECON.
The ACCOUNT table is a list of accounts held.
The RECON table is a history of reconciliations performed.
For any given rec date in the RECON table there will not necessarily be a record for all the accounts listed in the ACCOUNT table.
Left outer join from account to recon table on the account numeric id.
Set a date range parameter on the reconciliation date.
I need to show a record for ALL accounts regardless of whether a rec was done on the specified dates or not.
However, when one runs the report only the accounts where recs were performed appear.
The output should look something like this: -
ACC_ID REC_DATE APPROVED ON
123456 18/03/05 21/03/05
345678 No Reconciliation
456789 18/03/05 21/03/05
But the second line does not appear.
I am not sure how I am supposed to return a record for accounts that do not have an entry for the stipulated dates in the recon table.
The left outer join does not appear to work with the date parameter.
Assuming I have explained myself, all suggestions appreciated.
Cheers
Trev
Using CR8 connected thru' ODBC to a SQL server.
I have two tables, ACCOUNT and RECON.
The ACCOUNT table is a list of accounts held.
The RECON table is a history of reconciliations performed.
For any given rec date in the RECON table there will not necessarily be a record for all the accounts listed in the ACCOUNT table.
Left outer join from account to recon table on the account numeric id.
Set a date range parameter on the reconciliation date.
I need to show a record for ALL accounts regardless of whether a rec was done on the specified dates or not.
However, when one runs the report only the accounts where recs were performed appear.
The output should look something like this: -
ACC_ID REC_DATE APPROVED ON
123456 18/03/05 21/03/05
345678 No Reconciliation
456789 18/03/05 21/03/05
But the second line does not appear.
I am not sure how I am supposed to return a record for accounts that do not have an entry for the stipulated dates in the recon table.
The left outer join does not appear to work with the date parameter.
Assuming I have explained myself, all suggestions appreciated.
Cheers
Trev