Henry Olive 5 Posted April 11, 2021 I wish everyone a healthy day. I have DBComboBox1 with 2 Items (Open, Closed) I have another DBComboBox2 which it is Field Name=ClosedDate I dont want user to fill Closed Date Field if DBComboBox1.Text=Open So I wrote below code DBComboBox2.Enabled :=DBComboBox1.Text='Closed'; Which event is the best place to put above code ? Thank You Share this post Link to post
Lajos Juhász 293 Posted April 11, 2021 OnFieldchange for the field linked with dbCombobox1. I would also compare the field value, not the DBCombobox1.text. 2 Share this post Link to post