Copy listbox selection data to text field

Hello All

I have been trying for a while to find a
listbox1.listindex in the list, but it is not in my list.

when i click on a line, i want the associated data to be
placed in the database in various textfield.text

Welcome @Jeffrey_Collewijn

I think .ListIndex was AP1, so try .SelectedRowIndex for API2