Jeremy Biros
Well Known Member
Headerless Detail with update grid: How do I check for error on update (PressButton(OK))?
I have a headerless detail form that I am using for a pricing import. It has a grid that is based on a work table I created. I have a button called "Accept Import", which calls the OK button and updates the grid data into the work table. Sometimes I get a primary key error, but it continues to process and the error disappears. I would like to stop the update when I encounter this error, but I don't know how to do it. Is there an event that gets called when an update error is encountered?
I have a headerless detail form that I am using for a pricing import. It has a grid that is based on a work table I created. I have a button called "Accept Import", which calls the OK button and updates the grid data into the work table. Sometimes I get a primary key error, but it continues to process and the error disappears. I would like to stop the update when I encounter this error, but I don't know how to do it. Is there an event that gets called when an update error is encountered?