Hello,
I am working on a school project db and I would like to know if it's possible to have a window pop up for the user if the item they try to look for is not on the table instead of having Access give you a blank table.
ie. If the user looks for a product-id=006 and it's not found, I would like a message to pop up saying "That product id was not found" or even better "Product ID 006 was not found". Right now all I get if a product id is not found is a blank table.
The simple query I have so far is:
SELECT product-id, product-name
FROM Products
WHERE product-id=[Enter the Product ID to find];
Thanks!
I am working on a school project db and I would like to know if it's possible to have a window pop up for the user if the item they try to look for is not on the table instead of having Access give you a blank table.
ie. If the user looks for a product-id=006 and it's not found, I would like a message to pop up saying "That product id was not found" or even better "Product ID 006 was not found". Right now all I get if a product id is not found is a blank table.
The simple query I have so far is:
SELECT product-id, product-name
FROM Products
WHERE product-id=[Enter the Product ID to find];
Thanks!