Advertisement

05.18.2008 at 08:05PM PDT, ID: 23412674
[x]
Attachment Details

Count number of columns of data in a pipe delimited text file

Asked by kelvinsparks in Microsoft Access Database, Access Coding/Macros

Tags: Microsoft, Access, 2003

I have a system that imports a number of pipe delimited files into Access. The names of these can vary and I do not want the users to have to rename into a consistent naming structure to manage the import process. Due to a new file being introduced, I need to be able to pick out all files of a type based on the number of columns in the file (greater than or less than 40 is sufficient at this stage).

Is there any way to look at a file before it is imported and count the columns?

KelvinStart Free Trial
[+][-]05.18.2008 at 08:54PM PDT, ID: 21595126

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, Access Coding/Macros
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: flavo
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.18.2008 at 09:17PM PDT, ID: 21595202

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628