#define METHATABLENAME_INDEXES [IndexTable] #define METHATABLENAME_PEOPLE [PeopleTable] obj = createobject('Collection') obj.Add('\data\indextable.dbf', METHATABLENAME_INDEXES) obj.Add('\data\peopletable.dbf', METHATABLENAME_PEOPLE) && get an item theIndex = obj.GetKey(METHATABLENAME_PEOPLE) if( empty(m.theIndex)) && is not there else ? obj.Item(m.theIndex) endif && or try theData = obj[METHATABLENAME_PEOPLE] ?theData catch && && is not there endtry