Analysis automatically generates an output file for you that Epi Report can use. You need to open Epi Report, create a new template, and then bring in the Analysis output file that contains your data. After you save the template, you can call the template directly from within Analysis using the REPORT command. (The REPORT command is used to display an existing Epi Report template.)
If you want to run the report more than once, you should use the ROUTEOUT command to specify the name of the output file that will contain your analysis results. This way, each time you run your analysis, the report will show the most up-to-date information.
I would highly suggest reading the Epi Report help file topics in the help documentation as they cover how to use it in good detail. There is also an Epi Report lesson in the EIHA tutorial. See lesson 10 at http://wwwn.cdc.gov/epiinfo/script/eihat.aspx.
Note that in order to see the updated output, you need to generate the report - opening the report template in Epi Report will show incorrect output initially.
ROUTEOUT shouldn't be creating BAK files. It should tell Analysis that when commands are run, any output-generating commands following the ROUTEOUT will go into the named HTM file and an XML file. Note that using READ or CLOSEOUT will both close the routing process, so don't use a ROUTEOUT right before a READ.
Out of curiosity, what version of Internet Explorer do you have on this system and what operating system are you using?
I have IE8 on Windows 7.
I have the analysis program written so READ is the first thing an ROUTEOUT is one of the last commands.
Not sure if this will help, but here is how I have one of my simplest analysis programs set up:
IF Criteria THEN
SORT X Y Z
LIST A B C D
ROUTEOUT 'File Name' REPLACE
The ROUTEOUT command should appear right after the READ command. Anything after the ROUTEOUT is routed out to the named file.
Let me know if this solves the problem.
Epi Report can be challenging and frustrating. If any file name or directory path of your Analysis output files (.xml and .mdb) are different after you have created the Epi Report templates (.ept and .epx), then the result may be what you are experiencing. The problem is because data source file paths are hard coded into the .ept and .epx files.
1. Make a backup copy of the .ept and .epx files
2. Close Epi Report if it is open.
3. (a) Use Windows Notepad to open the .ept and .epx files
(b) Search for ".xml" and ".mdb"
(c) If the file paths are not the same as your current Analysis output file, then replace ALL occurrences with the absolute paths of the current .xml and .mdb output files.
(d) Save the edited .ept and .epx files
4. Open Epi Report and verify that all data are from the current output files (.xml and .mdb)
Hope this helps.