I'm pretty new to CR and would apprecaite it if somebody could help me...
Table 1:
Table 2:
What I require from the data is to:
1. Establish the [ID] link
2. Find the [USER] if they appear in [Table 2]
3. Using the [VERSION] get the 'DATE' before the record associated with the [USER] if they appear against a record.
So, for [ID] using the criteria '02' I would expect to see:
Table 1:
Code:
== ========= ========
ID USER FOLDER
== ========= ========
01 A Smith A123456
02 J Bloggs B123456
03 H Jones C123456
Table 2:
Code:
== ======= ========== ========
ID VERSION DATE USER
== ======= ========== ========
02 01 01/01/2006 Admin
02 02 02/01/2006 System
02 03 03/01/2006 J Bloggs
What I require from the data is to:
1. Establish the [ID] link
2. Find the [USER] if they appear in [Table 2]
3. Using the [VERSION] get the 'DATE' before the record associated with the [USER] if they appear against a record.
So, for [ID] using the criteria '02' I would expect to see:
Code:
== ======== =========== =============
ID USER LATEST DATE PREVIOUS DATE
== ======== =========== =============
02 J Bloggs 03/01/2006 02/01/2006