G
Guest
I needed a very simple listbox with check mark for each record, (which is not
available within Access), so I created a simple subform with one text field
and the checkbox, which I use in a way similar to a listbox (i.e. when I
click on a record in my subform, the main form displays that record).
This is triggered by a Click_Event on the text field on the subform and it
works fine.
However, I need to be able to scroll up and down the subform using the arrow
keys and have the main form synch with the subform.
I do not seem to find an event which gets triggered by simply moving to the
the next or previous record using arrow keys or the navigation buttons at the
bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
AfterUpdate etc. etc., but since there is no actual data change nothing
happens).
Any idea?
Thank you very much.
P.S. I found a clever free utility which displays listboxes with check marks.
The demo works fine but it requred a bit too much knowledge for me to
customise it to my requirements. (I can't remember the link to that site but
I will post it if I find it).
When I click
it as a subform on a form using the same data.
available within Access), so I created a simple subform with one text field
and the checkbox, which I use in a way similar to a listbox (i.e. when I
click on a record in my subform, the main form displays that record).
This is triggered by a Click_Event on the text field on the subform and it
works fine.
However, I need to be able to scroll up and down the subform using the arrow
keys and have the main form synch with the subform.
I do not seem to find an event which gets triggered by simply moving to the
the next or previous record using arrow keys or the navigation buttons at the
bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
AfterUpdate etc. etc., but since there is no actual data change nothing
happens).
Any idea?
Thank you very much.
P.S. I found a clever free utility which displays listboxes with check marks.
The demo works fine but it requred a bit too much knowledge for me to
customise it to my requirements. (I can't remember the link to that site but
I will post it if I find it).
When I click
it as a subform on a form using the same data.