Hi all,
I have a simple Ordering DB with tables:
Products - Order-line (one-many)
I have an Order form with an order-line subform based on a query which pulls out a description from Products and displays on the form.
When a user scans a product into the Order-line and the Product isn't in the Product table I get the error:
""The Microsoft Access database engine cannot find a record in the table "Products" with key field(s) "Product_code".
This s fine and what I would expect. The issue is that they use the Runtime and instead of bringing up the error the DB crashes. Any ideas how I can handle this better so the runtime doesn't crash?
I have a simple Ordering DB with tables:
Products - Order-line (one-many)
I have an Order form with an order-line subform based on a query which pulls out a description from Products and displays on the form.
When a user scans a product into the Order-line and the Product isn't in the Product table I get the error:
""The Microsoft Access database engine cannot find a record in the table "Products" with key field(s) "Product_code".
This s fine and what I would expect. The issue is that they use the Runtime and instead of bringing up the error the DB crashes. Any ideas how I can handle this better so the runtime doesn't crash?