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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bookmark Listbox

Status
Not open for further replies.

humpydumpy2000

IS-IT--Management
Aug 18, 2016
30
PH
Hi all,
I have two forms, the mainform contains a listbox where all the records I entered will be displayed and the other form which I use to enter a new record. Whenever I post a new record the listbox on the mainform refreshes however it sticks only to the first record. How is it possible that everytime I post the listbox will go to the latest record?

Any help would be greatly appreciated:)
 
Hi humptydumpy2000,

I haven't tested but perhaps in your main form refresh action you could try something like this.

Code:
Me.YourListBox.Selected(Me.YourListBox.ListCount - 1) = True

Remember- It's nice to be important,
but it's important to be nice :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top