It is not that stupid. In fact it happens to me every day and am thinking if there is a better way to deal with this exception.
On Sep 6, 6:55 pm, Miguel Goncalves <goncalvesmig...@gmail.com> wrote: > Thanks for your comment ! that made me look into the fields that are > references and quickly found what was wrong. > > In my insert, I harcoded the categoryID to 63....which does not exist > anymore in my category table. > > Stupid mistake. Sorry. > > Thanks again; > -Miguel