Listbox Sorting

  • Thread starter Thread starter The-Movie
  • Start date Start date
T

The-Movie

Hi i have a problem, i cant seem to get my listbox not to sort the
data.

this wouldn't be a problem if it wasn't for this bit of code i use:

Me.Form.Refresh
a = Me.ListBox.ListIndex
Set rs = Me.Recordset
rs.OpenRecordset
rs.MoveFirst
rs.Move (a)

I use this for filling out some textboxes to use for editing the data
selected in the listbox. But because the listbox gets sorted it's
impossible to get the right data for the text boxes.

i haven't got any sorting in the query that fills the listbox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top