I have no idea why you need it, but this should do it.
Code:
Dim rst As DAO.RecordSet
Set rst = CurrentDb.OpenRecordset("Select * from YourTable")
While not rst.EOF and Not rst.BOF
rst.Edit
rst!YourField = Me.YourListBox.ItemData(Int(rst.AbsolutePosition/20))
rst.Update
rst.MoveNext
Wend
I have no idea why you need it, but this should do it.
Code:
Dim rst As DAO.RecordSet
Set rst = CurrentDb.OpenRecordset("Select * from YourTable")
While not rst.EOF and Not rst.BOF
rst.Edit
rst!YourField = Me.YourListBox.ItemData(Int(rst.AbsolutePosition/20))
rst.Update
rst.MoveNext
Wend