I have two tables that deal with product categories and sub-categories. Foolishly (because I learned from some terrible "for dummies" book) I made both the category, and sub-category ID's 2 & 3 letter strings (auto-filled on a form). I had also used this technique for the supplier ID, but had to change it to autonumber because the data became overwhelming. I would love to change the product ID's as well, but doing so would mean that I would have to re-enter ginormous amounts of data. (unless you could recommend some other way)
The problem I am having of course is that, with my auto-fill feature, which was originally meant to speed up data entry, I am receiving a message everytime a duplicate key is submitted. Oddly enough, the first message that I get says : "you can't go to the end of a recordset", if i simply try to close the form, i get the "duplicate key values..". I wan't to trap these error messages so that I can input my own. I fear that others will be freaked out by these warnings. How can I trap these warnings? Thanks. Dan Eaton
deaton@caemachinery.com
The problem I am having of course is that, with my auto-fill feature, which was originally meant to speed up data entry, I am receiving a message everytime a duplicate key is submitted. Oddly enough, the first message that I get says : "you can't go to the end of a recordset", if i simply try to close the form, i get the "duplicate key values..". I wan't to trap these error messages so that I can input my own. I fear that others will be freaked out by these warnings. How can I trap these warnings? Thanks. Dan Eaton
deaton@caemachinery.com