?this.Item(1) && Fails>>
*------------------------------------------------------------- *Method : Item_Access *Author : Kevin Lawrence *Date : 12/08/2003 *------------------------------------------------------------- *Desc : Return Item from the List Collection (only accepts int) *------------------------------------------------------------- LPARAMETERS tuIndex LOCAL lnIndex AS Integer lnIndex = tuIndex *Get Key if character IF TYPE("tuIndex") = "C" lnIndex = this.List.GetKey(tuIndex) ENDIF *Ensure Key exists IF lnIndex > 0 AND this.List.Count > 0 RETURN this.List.Item(lnIndex) ENDIFBut this.List.GetKey(tuIndex) returns 0 and I can't get this to work unless I specifiy the index, but I need to specify the Key too.