On a form I am creating, in multiple areas, one combobox result enables a
second combobox. I've done this in code on the AfterUpdate event of the
first box. Additionally, using the OnCurrent Form Event and the NewRecord
property I reset all of the appropriate comboboxes back to jEnabled=False.
However, if I go back to a record and edit it such that a second combobox is
enabled, when I navigate to the next record, the combobox remains enabled as
the new record is made current.
How can I set the combobox to Enabled=False when I move to a subsequent but
not new record?
Tx
Rocky
Allen Browne - 06 Dec 2005 04:43 GMT
Add your code to the Current event of the Form as well.
This event fires each time you move record.
You may also want it in the Undo event of the form as well, examining the
OldValue of the control.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> On a form I am creating, in multiple areas, one combobox result enables a
> second combobox. I've done this in code on the AfterUpdate event of the
[quoted text clipped - 10 lines]
> Tx
> Rocky