Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting data from Access

Status
Not open for further replies.

mike99

Technical User
Joined
Jul 3, 2002
Messages
43
Location
CA
We have to extract data from an Access Table. It is customer address information that is in one column in Access with a special character that looks like a "square box" separating the address lines. How do we get the info out of access onto individual lines or columns? We have tried "parse" in Excell but it does not recognize the "square box" character.

Mike99
 
Dont know if this will help, but I've seen this when Import a text file into Access. From what I noticed its always present where a TAB separates the fields.

My guess - thats how it got into the Access database in the first place - from an imported file.

Hope this helps
 
You need to be able to identify that character. There are numerous string functions which will allow you to parse out sub strings but you do need to identify the delimiter a bit more realistically than a square box thingy.

As a point of reference you really do not want to concatanate multiple strings into one colimn of a table. There is a rather big distinction between a properly defined table and a spread sheet. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
You should be able to use 'Text to Columns' in excel.
To test your problem, I copied and pasted some data into an Access field from a tabbed column in Word. The result in Access was a data string with boxes representing the tabs.

I then exported to excel and parsed the data with no problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top