lnSelect = SELECT() SELECT MyAlias lnRecno = RECNO() SUM TO lnSum FOR SomeCondition GO lnRecNo SELECT ( lnSelect )