>Hi! Can you help me out? I am new at VFP 5.0, just opened box a couple of days ago. I am currently using a listbox on a form, how do i determine the currently selected item in the listbox. I really, really would appreciate any advice you could give me. Thanks in advance.
Ramon,
You can use THISFORM.ListBoxName.Value which will tell you the currently selected item's value. There are other ways that depend on the rowsourcetype of the list box. if the rowsourcetype is Alias then
.FieldName will tell you field value for the currently selected record in the rowsource. Making a selection in the listbox move the record pointer in its rowsource.