Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Top of Page format not appearing in 2nd file 1

Status
Not open for further replies.

Wellington

Programmer
Apr 14, 1999
1
US
I am looping through a list of clients and for each one doing a SQL call and writing the results to a dynamically named file that includes the clients name. The top of page format is used in the first file, but in the second file it doesn't show up until page 2. I have checked the value of $- and it is 0 which is supposed to cause the top of page format to be used. I explicitly closed the first file before opening the 2nd. What could be causing this?
 
I know this comes late, but I have had a similar problem. I suspect it has to do with having 2 files open at the same time. Any ideas out there ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top