INDEX ON IIF(Empty(xdate) Or IsNull(xdate), 0, QUARTER(xdate)) TAG qtrIn order to determin the size of the index VFP has to evaluate index expression. VFP uses either the first physical record in the table, if there're any records, or empty record to do that. It's similar to the way VFP determines the size of the fields in the Select Sql.