******************************************************************** * Description.......: InsertBlankPages for MTD Report * Calling Samples...: * Parameter List....: * Created by........: Nadya Nosonovsky 07/28/2000 09:41:29 AM * Modified by.......: ******************************************************************** local lnRecno, lcAlias lnRecno=recno() && Save current record position lcAlias=alias() if indexseek(town+'N',.f.,lcAlias,'TownPage') && record was already inserted, do nothing else && This means, that the table should be used exclusively, but it's ok append blank replace county with county, town with town, NewPage with 'N' go lnRecno endifI will create a new group Town+NewPage, which will start on the new page.