Hi! i use a Listbox to populate Name field. So with that i want to store
the particular ID & Description attached to that name.
i tried,
The above code works fine as it stores only the 'ID' field.how can i do something
like below so that it wud store the 'desc' field too.
suggestions much appreciated..
thnx!!
Mur.
the particular ID & Description attached to that name.
i tried,
Code:
Do While i < rs2.RecordCount
lstModules.AddItem rs2("name")
lstModules.ItemData(lstModules.NewIndex) = rs2.Fields("ID") 'stores realted ID
i = i + 1
rs2.MoveNext
Loop
The above code works fine as it stores only the 'ID' field.how can i do something
like below so that it wud store the 'desc' field too.
Code:
lstModules.ItemData(lstModules.NewIndex) = rs2.Fields("desc") 'stores related desc
suggestions much appreciated..
thnx!!
Mur.