Advertisement

05.16.2008 at 09:26PM PDT, ID: 23410230
[x]
Attachment Details

Parse Input String and assign to field

Asked by amac64 in Microsoft Development, Microsoft Access Database, Access Coding/Macros

Tags: Access VBA

If I import a fixed width ascii file and the records looks like this:

0123456John Smith          111 Anywhere Street              Chicago, Il  12345
1245874John Doe             245 Elm Street                         New York, NY  78945

How can I strip out the data, if I only know the start position and the length of each field and assign it to a field in my table.Start Free Trial
[+][-]05.16.2008 at 09:58PM PDT, ID: 21588042

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 Development, Microsoft Access Database, Access Coding/Macros
Tags: Access VBA
Sign Up Now!
Solution Provided By: dqmq
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.16.2008 at 10:15PM PDT, ID: 21588061

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.

 
[+][-]05.17.2008 at 07:36AM PDT, ID: 21589476

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

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