I've just recently learned about array variables, and would like to use one to validate a date that is being entered. I have a query set up to show the dates of all files that have been loaded into the database. Every time a new set of files gets loaded, the user must enter the date for those files. I want to prevent the user from loading files that have already been loaded (the primary key in my table is an autonumber). I would like to set up a loop to compare the date entered to the dates already in the database. If the date is already there, I want an error message to appear. If the date is not there, I want the database to continue as usual. However, I can't figure out how to assign my query (qryDatesPulled) to the array (strDatesPulled (1 to 365)). Do you have any suggestions on how to do this, or a better way to accomplish the same thing?