I apologize for my taking so incredibly long to dust off a script... just too many things go on here.
Anyway, here's a script with comments for you to look at: http://opencollection.org/examples/import_delimited_data_into_oc_example.php.txt
It was originally written to import filmographic data from ProCite, a bibliographic tool, into OpenCollection. ProCite exports tab-delimited data just like Excel, Access and Filemaker, so this script is just as applicable to those tools.
If there is interest I can also post an example of a script that migrates data from Microsoft SQL Server databases to OpenCollection.
seth