|
Barry, Thanks,
that worked like a dream. Ross -----Original
Message----- Change Open
"c:\testfile.txt" for Output as #2 to Open
"c:\testfile.txt" for append as #2 From: Barker-Lacerda , Michelle [mailto:[EMAIL PROTECTED]
Here's
how I do it. Const
ForAppending = 8 .
' steps . strErrorTxt
= strToEmail & " " & strScriptName & " " &
Err & " " & Err.Description & strErrorTxt & "
" & Now() . . . Michelle 617-665-3432 -----Original Message----- Hello all, Whenever I do a script, I usually write the output to
a file by using the commands... First I open the field Open
"c:\testfile.txt" for Output as #2 Then at the end of each loop in my script, I write
output like... Write
#2, field 1, field 2, etc.... When the script is done, I have a nice output file to
view. I know everyone does this,
but I was wondering if anyone has ever opened up an existing file and appended
data to it. So, I'm wanting to
keep a data file that adds onto itself every day I run the script. Instead of "Write #2" is
there another command, like "Append"? Thanks! Ross Stolle Integration Engineer Avera McKennan Hospital Sioux Falls, SD ____________________ Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure, or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message. *************** Satilla Health Services advises the recipient that this electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. If you are not the intended recipient of this e-mail, you are cautioned that the use of its contents in any way is prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately by e-mail or telephone and return the original message by e-mail to the sender. We will reimburse you for any cost you incur in notifying us of the errant e-mail. ***** ____________________ Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. |
Title: Message
- [Talk] Appending to an output file Ross Stolle
- RE: [Talk] Appending to an output file Linda Ralston
- RE: [Talk] Appending to an output file Barker-Lacerda , Michelle
- RE: [Talk] Appending to an output file Barry Rudd
- RE: [Talk] Appending to an output file Ross Stolle
- RE: [Talk] Appending to an output file Angela LaVasser
- RE: [Talk] Appending to an output file Angela LaVasser
- [Talk] Appending to an output file David Shelby
- RE: [Talk] Appending to an output file David Shelby
- RE: [Talk] Appending to an output file David Shelby
