In a table that is named Budget I have Six different dates in Six Different fields. Well, the fields can vary whether or not they are null for each record. Each one of the fields could be null. Actually, I glanced quickly at the 32,000 records and noticed that one of the records had all 6 fields as being null. What is the best way to capture the earliest date of the six fields when comparing all of the dates within one record. Maybe we could create a seventh field to contain the earliest date?
Example: a record in the Budget table contains:
Field 1 01/01/2004
Field 2 04/31/2002
Field 3 02/04/2000
Field 4 null
Field 5 null
Field 6 01/05/1999
I want to capture the earliest date which is in Field 6 (01/05/1999) after comparing all of the dates in the record. What is the best way to do this?
Example: a record in the Budget table contains:
Field 1 01/01/2004
Field 2 04/31/2002
Field 3 02/04/2000
Field 4 null
Field 5 null
Field 6 01/05/1999
I want to capture the earliest date which is in Field 6 (01/05/1999) after comparing all of the dates in the record. What is the best way to do this?