Match Listbox to current record (1 Viewer)

BJF

Registered User.
Local time
Today, 03:07
Joined
Feb 19, 2010
Messages
133
Hello,

I have a form in which i put a listbox that finds records when selected, as well as a search box which locates records.

Both work fine, but i am trying to figure if theres any way to make the listbox show or scroll to the record that im on if i use the search box to get to the record instead of the listbox.

i am attaching a sample db so you can see what i am talking about.
again, im looking for the listbox to highlight the record that im on after getting to that record from my searchbox


thanks for anyhelp
 

Attachments

  • test listbox.accdb
    480 KB · Views: 77

moke123

AWF VIP
Local time
Today, 03:07
Joined
Jan 11, 2013
Messages
3,852
at the end of your search code just use

Code:
Me.List3 = Me.SalesOrderNumber
 

Users who are viewing this thread

Top Bottom