Currently I have a form which displays customers called "Company". These customers can be of a different status. i.e. Gold or Silver. The status is obtained from a drop down list. This filed list is called "Customer Definition". If the user selects the status of Gold they enter a 3 Letter prefix which is obtained from a drop down list called "3 Letter Definition". However if the user selects Silver I want this option disabled.
I have tried writing an Event Procedure which is as follows
If Me.Company_Definition = "Silver" Then
cmd3_Letter_Definition.Enabled = False
Else
cmd3_Letter_Definition.Enabled = True
End If
If this Event Procedure is correct where do I put it. As I have tried putting it in the Before Update in the "3 Letter Definition" but it doesn't work.
Can anyone offer a solution?
I have tried writing an Event Procedure which is as follows
If Me.Company_Definition = "Silver" Then
cmd3_Letter_Definition.Enabled = False
Else
cmd3_Letter_Definition.Enabled = True
End If
If this Event Procedure is correct where do I put it. As I have tried putting it in the Before Update in the "3 Letter Definition" but it doesn't work.
Can anyone offer a solution?