G
Guest
I have a database in Access 2000 that we use for tracking purchase request /
purchase orders. User are able to log in and complete a purchase requisition
by selecting a supplier from an "Approved Supplier List". If a supplier is
not on the list, they are not allowed to purchase from them.
In the database I have created a form called "Menu_Requisitions". On the
form, I have added a Combo Box "Combo123" that is populated via a query.
When the user clicks a button, a form "Requestor-Requisitions" is opened. In
this form, the field "Supplier" is automaticaly populated with the the value
chosen in "Combo123".
The problem I have is that if nothing is selected from "Combo123" then the
"Supplier" field is also left blank. It works fine if an item is selected
from the combo box. There is nothing to stop the user just clicking the
button and creating a record wihtout the supplier name. As the field
"Supplier" is locked, I do not want the validate that specific field before
update.
Is there a way to stop the form "Requestor-Requisitions" from opening if
"Combo123" is blank and to warn the user that something must be selected in
"Combo123" before the button will action its event procedure?
Thanks in advance.
purchase orders. User are able to log in and complete a purchase requisition
by selecting a supplier from an "Approved Supplier List". If a supplier is
not on the list, they are not allowed to purchase from them.
In the database I have created a form called "Menu_Requisitions". On the
form, I have added a Combo Box "Combo123" that is populated via a query.
When the user clicks a button, a form "Requestor-Requisitions" is opened. In
this form, the field "Supplier" is automaticaly populated with the the value
chosen in "Combo123".
The problem I have is that if nothing is selected from "Combo123" then the
"Supplier" field is also left blank. It works fine if an item is selected
from the combo box. There is nothing to stop the user just clicking the
button and creating a record wihtout the supplier name. As the field
"Supplier" is locked, I do not want the validate that specific field before
update.
Is there a way to stop the form "Requestor-Requisitions" from opening if
"Combo123" is blank and to warn the user that something must be selected in
"Combo123" before the button will action its event procedure?
Thanks in advance.