J 
		
								
				
				
			
		JB_96RS
Hello y'all.  I was wondering how to fix the format of a date.  I am
using Access 2000. Access is creating a file for me and the date is
part of the file name. I need the date to appear as 20040107, but it
is showing 200417. How do I get the 0's to show? Here is the code I
am using now:
txtFile = txtFile + "Ship" + CStr(Year(Date)) + Format(MonthNo, "00") +
CStr(Month(Date)) + CStr(Day(Date)) + "0001" + ".XYZ" + ".CSV"
Any thoughts?
Thanks,
JB
				
			using Access 2000. Access is creating a file for me and the date is
part of the file name. I need the date to appear as 20040107, but it
is showing 200417. How do I get the 0's to show? Here is the code I
am using now:
txtFile = txtFile + "Ship" + CStr(Year(Date)) + Format(MonthNo, "00") +
CStr(Month(Date)) + CStr(Day(Date)) + "0001" + ".XYZ" + ".CSV"
Any thoughts?
Thanks,
JB