In a message dated 8/26/2001 5:14:03 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
<< How do I check in advance if the WORD/EXCEL filename exists or not ?
If_it_does - LAUNCH would apply
If_not - Create New or ZIP START would apply. >>
David, I don't have the code here, but I'll sent a snipet of code I use to
test this in an edi generation command file. I'll get it posted this
afternoon, or in the morning. If you need it immediately, it something like
Dir Filename.Extension
set var vSqlRet = SQLCode
if vSqlRet = Whatever the sqlcode number is for no file
No File exists, Create here
Else
Open File
endif
Not sure this helps, but I'll zap out the snipet this afternoon, or in the
morning.
Damon
Damon D. Kaufman
President
Stalder Spring Works, Inc
ISO-9002 / QS-9000 Certified
2345 S. Yellow Springs St.
Springfield, Ohio 45506
Voice 937,322,6120
Fax 937,322,2126
email: [EMAIL PROTECTED]