I checked the function to get the surrkey, but LOCATE FindDate IN TimeVariantStartDates BY "DL" SETTING Position Then Found = @TRUE End Kenneth Bland LOCATE ever returns the second SurrKey, if FindDate is not greater than the first Date. iE: FindDate = 2005-10-10 TimeVariantStartDates = 20...