T
Tina
I'm having a problem checking to see if a form already exists. We store
the forms using firstname lastname.xml. If the file exists I'd like to
concatenate a 1, or 2 etc after the filename.
strSaveLocation =
"http://longhorn/MIS New Revised User Request/";
strFileName = strSaveLocation + strFirstName + " " + strLastName + " "
+ intFileSuffix + ".xml";
where filesuffix will be 1, 2, 3 etc
if (File.Exists(strFileName)) - this line never finds the file, is it
somehting to do with my path(strSaveLocation)? Can I not look for the
file this way?
Thank you!
-Tina
the forms using firstname lastname.xml. If the file exists I'd like to
concatenate a 1, or 2 etc after the filename.
strSaveLocation =
"http://longhorn/MIS New Revised User Request/";
strFileName = strSaveLocation + strFirstName + " " + strLastName + " "
+ intFileSuffix + ".xml";
where filesuffix will be 1, 2, 3 etc
if (File.Exists(strFileName)) - this line never finds the file, is it
somehting to do with my path(strSaveLocation)? Can I not look for the
file this way?
Thank you!
-Tina