I am using a File Selection window with an import process in my database. After the user selects the excel file to import, I would like to use some code to check the first record of the file and count the number of valid fields. Also any other checks that could identify whether or not the file was valid would be useful. Does anyone know how to do this?