In a form in Access 2010 when I click on the first entry in a List Box, Form_Current is not executed. When I click on any other entry it is executed.
A simple example will illustrate this.
Table, Table1 with 2 fields, Id and Field1.
Form with List Box created using "Find a record on my form based on the value I selected in my list box". Row Source is "SELECT Table1.ID, Table1.Field1
FROM Table1;"
4 entries in Table1 viz. Name1, Name2, Name3 and Name4.
These are displayed in the List Box.
When I click on any of these, the corresponding record is loaded.i.e. the relevant Field1 is displayed in the bound field on the form. However clicking on Name1 does not cause Form_Current to run whereas clicking on the other 3 does.(Message Box in Form_Current shows whether it runs).
This occurs when I go to Name1 first or when I go to Name1 after I’ve been to other records.
Am I missing something or is this a bug?
A simple example will illustrate this.
Table, Table1 with 2 fields, Id and Field1.
Form with List Box created using "Find a record on my form based on the value I selected in my list box". Row Source is "SELECT Table1.ID, Table1.Field1
FROM Table1;"
4 entries in Table1 viz. Name1, Name2, Name3 and Name4.
These are displayed in the List Box.
When I click on any of these, the corresponding record is loaded.i.e. the relevant Field1 is displayed in the bound field on the form. However clicking on Name1 does not cause Form_Current to run whereas clicking on the other 3 does.(Message Box in Form_Current shows whether it runs).
This occurs when I go to Name1 first or when I go to Name1 after I’ve been to other records.
Am I missing something or is this a bug?