Hi there
I need to compile a report for Profit Loss statement, it uses three tables tables GL entry (actual amounts + dates), Budget Entry (budget amounts + dates) and G/L Account (all gl accounts).
Database is on a SQL2000. The issue is that both actual and budget tables can hold zero, one or multiple entries for each gl account. This causes duplication of the tables last entry when there are more entries from in the other table.
Example
Gl Account Date Gl Entry Gl Budget
2108 25/6/03 $500 $300
" $100 $300**(duplicate)
$39 $300**(duplicate)
I have tried a full outer join but still have same issue.
Report was initially written with actuals as main report and budget amounts as subreports which works well but it seems that the subreport values cannot be graphed with the actuals.
Appreciate your thoughts this one has been driving me insane!!!!!
I need to compile a report for Profit Loss statement, it uses three tables tables GL entry (actual amounts + dates), Budget Entry (budget amounts + dates) and G/L Account (all gl accounts).
Database is on a SQL2000. The issue is that both actual and budget tables can hold zero, one or multiple entries for each gl account. This causes duplication of the tables last entry when there are more entries from in the other table.
Example
Gl Account Date Gl Entry Gl Budget
2108 25/6/03 $500 $300
" $100 $300**(duplicate)
$39 $300**(duplicate)
I have tried a full outer join but still have same issue.
Report was initially written with actuals as main report and budget amounts as subreports which works well but it seems that the subreport values cannot be graphed with the actuals.
Appreciate your thoughts this one has been driving me insane!!!!!