Right,
The table structure is flowdate, amount, balance, balance7, balance30 and balance90.
I did have a go at a single query, but balance7 is updated based on different flowdate to balance, so I got lost trying to write it.
Yes the trialing # is in the date string var, because it was doing a...