cAlias = ALIAS() nRecNo = RECNO() Do Something SELE (cAlias) GOTO nRecNoBut if the ALIAS was empty then the GOTO will give a record out of range error. Often the Do Something code is using tables/cursors, etc and the goal is to leave open data the same when exiting a method as it was on entering. Any thoughts? Thanks!