A
Alton Barnes
i have a table named 10Sep03air. in this table i have 8
date fields--seg1depdte thru seg8depdte--per record. the
dates are listed like 12/27/03 and as it is imported into
the database, it formats the date as "text". the 8 dates
in this table represent the travel dates of a passenger
flight itinerary. some of the fields are "null" depending
on the length of the itinerary.
seg1depdte is always the 1st outbound travel date. what
i'm looking for is the last date in the series (return
date). the last date may not always be seg8depdte because
some fields will be "null" depending on the passenger's
flight itinerary.
what i want is to build an expression that will look at
each record (or passenger) and tell me what is the end-
date or return date of the trip.
I tried different ways but i can't get it to work.
date fields--seg1depdte thru seg8depdte--per record. the
dates are listed like 12/27/03 and as it is imported into
the database, it formats the date as "text". the 8 dates
in this table represent the travel dates of a passenger
flight itinerary. some of the fields are "null" depending
on the length of the itinerary.
seg1depdte is always the 1st outbound travel date. what
i'm looking for is the last date in the series (return
date). the last date may not always be seg8depdte because
some fields will be "null" depending on the passenger's
flight itinerary.
what i want is to build an expression that will look at
each record (or passenger) and tell me what is the end-
date or return date of the trip.
I tried different ways but i can't get it to work.