Thats the code i used to edit the original code from ghudson to get it into the table. That bit all works fine before i inserted the function. Now it just errors when it calls the function.
Namliam, thanks just compacted it and now its uploaded fine.
If you change one of the combo boxes on the form,you will get an error, if you try again without closing the form you will get a different error. I think the first error - "Item not found in this collection" has something to do with an OpenRecordSet which i dont have