cAlias = ALIAS() nRecNo = RECNO() Do Something if !empty(cAlias) and used(cAlias) SELE (cAlias) GOTO nRecNo endif