Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Go to record by selecting from list

Status
Not open for further replies.

knighty03

Technical User
Aug 12, 2003
32
GB
I would like to be able to go to a record by selecting the item from a list box without filtering the selected item.
 
Fairly simply. Make sure that the table that has the records you are looing for is bound to the form first of all. Next what you want you do is make the listbox and tie a query with just the names of the people in the list box. Next what you want to do is go to that control's After Update property and put this code in:

Me.RecordsetClone.FindFirst "[ParticipantID] = " & Me![Text89]
Me.Bookmark = Me.RecordsetClone.Bookmark

Replace ParticipantID with your own ID that will control the record set and replace text89 with the name of your listbox.

If I take a peek in your Windows, to fix a problem, does that make me a "Peeping Tom"? Hmmmmmmmmmmv [pc1][shocked]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top