***** populate listbox with my own tc_id SELECT tc_task,tc_id,tc_order FROM lv_tskcnt_tbl_itemmove INTO CURSOR ; crsim WHERE tc_c_id = thisform.a ORDER BY tc_order SELECT crsim SCAN .l1p6.AddlistItem(crsim.tc_task,crsim.tc_id) ENDSCAN .l1p6.MoverBars= .T.now I want to know how can I get the tc_id (which I guess is my itemid ) out of the listbox? Here is the code I have but it is not working.
indx = 0 FOR indx = 1 TO .l1p6.ListCount citem=.l1p6.ListItem(.l1p6.IndexToItemID(indx), 2) ENDFORI want to get at the tc_id from the listbox