tnPage = 1 && ie:Parameter lcAlias = alias() select description from category ; where !deleted() ; into cursor tmpCursor with thisform.pageframe1 .pagecount = reccount() scan .pages(recno()).caption = tmpCursor.description endscan .pages(tnPage).fontbold = .t. endwith use in "tmpCursor" if !empty(lcAlias) select (lcAlias) endifCetin