Gustav Brock
gustav at cactus.dk
Tue Jun 1 11:12:44 CDT 2004
Hi Ron If your code looks something like this: intFreeFile = FreeFile Open strPrintFile For Output As #intFreeFile Print #intFreeFile, strPrint it should work. /gustav > To all who use Seth's code for 'File I/O in VB', > I really like the control that Seth's code provides, however, I'm having > trouble writing to the output file. I have verified the output string being > built from the recordset but the following line of code fails (drops out of > the module without executing remaining code and without an error being > raised). > 'Print #intFileDesc, stroutput 'Print output string to file' > Am I missing something here? Any ideas? > TIA as always, > Ron Moore