R
Robbie G
I have a seperate table for each day of the month with2 fields;
intAccountNumber and dblBalance. Not all the Accounts feature in every table.
I want to create a single table with all the accounts and a sperate fieldfor
each day. e.g.
intAccountNum Day1 Day2 Day3
A 100 150 150
B 0 0 40
C 500 400 300
where if the Account doesn't feature in a particular dau, the balance from
the previous day is used.
I can get the complete list of unique Account numbers, but how do i select
the daily balances into the individual columns and also have an expression to
check if i should be using the previous day's balance?
Thanks.
intAccountNumber and dblBalance. Not all the Accounts feature in every table.
I want to create a single table with all the accounts and a sperate fieldfor
each day. e.g.
intAccountNum Day1 Day2 Day3
A 100 150 150
B 0 0 40
C 500 400 300
where if the Account doesn't feature in a particular dau, the balance from
the previous day is used.
I can get the complete list of unique Account numbers, but how do i select
the daily balances into the individual columns and also have an expression to
check if i should be using the previous day's balance?
Thanks.