I have an unbound field on a form that lists the full path and filename of an excel file (i allow the user to browse for an excel file to import and the full path and filename is displayed in this unbound textbox). i then save the full path and filename in a table. i compare the complete path and filename of the unbound textbox to an entry in the table to prevent a duplicate import of the same file. this works great, however if the user imports the same file from a different path, the same excel file will be allowed to be imported. what i'd like to do is somehow compare just the filenames.. can this be done?
thanks.