I have a form used for making quotations. It includes a combo box for recording the quotation status. The values include "Pending", "Approved", "Quoted","Declined Client" and "Bound". For ease of maintenance, rather than define these values as a value list, I have put them in a single field table.
For audit trail reasons, I have written VBA code to lock most of the fields on the form and its tabs and subforms if something is quoted. An exception is the Quotation Status combo box. However, I want to restrict the values that may be selected in the combo box after something has been quoted. To achieve this, I made a second table as the source of the values and wrote an If statement to change the table that was the record source once something has been quoted.
Unfortunately, this has resulted in the list not appearing in the combo box. Even though all the properties appear to be OK, I only see one value and it can be deleted or modified, which shouldn't happen.
Can anybody tell me how to fix this?
For audit trail reasons, I have written VBA code to lock most of the fields on the form and its tabs and subforms if something is quoted. An exception is the Quotation Status combo box. However, I want to restrict the values that may be selected in the combo box after something has been quoted. To achieve this, I made a second table as the source of the values and wrote an If statement to change the table that was the record source once something has been quoted.
Unfortunately, this has resulted in the list not appearing in the combo box. Even though all the properties appear to be OK, I only see one value and it can be deleted or modified, which shouldn't happen.
Can anybody tell me how to fix this?