geir_baardsen@hotmail.com (Geir Baardsen) wrote in
news:35f9d8b7.0412130152.64d37dcc@posting.google.c om:
[color=blue]
> On frmItems I have a listbox, lstShowItems, that is being filled up
> in the forms onload event with all records from tblItems.
>
> Now when user navigate between records I did wish the cursor would
> jump to the actual ItemID and select it in the lstShowItems.
>
> I have searched the group, and I think this is impossible with the
> present listbox component in ms access 2000?
>
> Anybody that have a workaround of this?[/color]
Havent used Access so much lately but i have done somthing like this is
Access 97.
On the Forms OnCurrent event do something like:
lstShowItems.ItemId = Formname.ItemId
lstShowItems need to have a column named ItemID, You can hide it if you
want.
On your form you will need to have access to the ItemId corresponding to
the ItemId in the lstShowItems.
Hope this is what you want and that it works.
--
Rolf