I'm trying to write to a file using a combination of DoCmd.TransferText (to a temp file) and DOS commands. Problem is, the lines are getting written out of order!
Here's a snippet (this is actually part of a loop):
strCmd = "cmd /c echo " & strHdr & " >> " & strPath
Shell (strCmd)...