I have a report which is comparing previous address with current address, each time a client amends their addresses, a new address record is added to our Oracle database.
I therefore have two tables..
ACCOUNT
AUDIT_ACCOUNT_ADDRESS
I have linked using ACCOUNT_ID which appears in both tables, there is only one record per ID in ACCOUNT and obviously multiple records in the ADDRESS table as they may have multiple addresses where they have changed or amended.
I have this formula
previous ({AUDIT_ACCOUNT_ADDRESS.ADDRESS_1})
I have built this for all the different address fields, however, it looks at previous address for another client, can I restrict it to ACCOUNT_ID, so something like this:
previous ({AUDIT_ACCOUNT_ADDRESS.ADDRESS_1}, {ACCOUNT.ACCOUNT_ID})
Hope this makes sense!?
Thanks
UrbanHim
Crystal XI Report Writer
London
![[shadeshappy] [shadeshappy] [shadeshappy]](/data/assets/smilies/shadeshappy.gif)
[small]What's the best cure for a hangover?... Heavy drinking the night before!![/small]
I therefore have two tables..
ACCOUNT
AUDIT_ACCOUNT_ADDRESS
I have linked using ACCOUNT_ID which appears in both tables, there is only one record per ID in ACCOUNT and obviously multiple records in the ADDRESS table as they may have multiple addresses where they have changed or amended.
I have this formula
previous ({AUDIT_ACCOUNT_ADDRESS.ADDRESS_1})
I have built this for all the different address fields, however, it looks at previous address for another client, can I restrict it to ACCOUNT_ID, so something like this:
previous ({AUDIT_ACCOUNT_ADDRESS.ADDRESS_1}, {ACCOUNT.ACCOUNT_ID})
Hope this makes sense!?
Thanks
UrbanHim
Crystal XI Report Writer
London
![[shadeshappy] [shadeshappy] [shadeshappy]](/data/assets/smilies/shadeshappy.gif)
[small]What's the best cure for a hangover?... Heavy drinking the night before!![/small]