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
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