troubleshooting Question

Masking date time within file name

Avatar of rosemary fletcher
rosemary fletcher asked on
Microsoft Access
27 Comments1 Solution159 ViewsLast Modified:
I have an CSV file which is created each day for the previous days information.     I need to include this file name within an SQL statement I am writing which will be compiled to be used in an Access 2007 database.     The data in the CSV file needs to be imported into an Access Table and I would prefer not have the users have to manually do the import I want to create a button which would import the data.     The file is named YYMMDDHHMMSS_Time DetailMMDDYYb.csv.      How can I write this within the SQL statement so when the user enters a date the program will know to pick up the correct file.      I can have the users entered the date as MMDDYY when prompted for the date to be imported.
rosemary fletcher

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 27 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 27 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros