>* at main.prg >procedure flocate >Lparameters pValue, pFieldName >ID EMPTY(pFieldName) > lFieldName = FIELD(1) && Take Current Alias first columname >ELSE > lFieldName = pFieldName >ENDIF > >Locate For Upper(lFieldName) = Upper(pValue) > >RETURN FOUND() >>