* To add a file (report) to the current project Application.ActiveProject.Files.Add('Myreport.frx') * To remove a file (report) from the current project FOR nCount = 1 TO nFileCount IF Juststem(Upper(Application.ActiveProject.Files.Item(nCount).Name))= "MYREPORT" Application.ActiveProject.Files.Item(nCount).Remove() ENDIF ENDFOR * Or FOR Each oFile in Application.ActiveProject.Files IF Juststem(Upper(oFile.Name))= "MYREPORT" oFile.Remove() ENDIF ENDFOR