Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 16th, 2003, 07:27 PM
jcvega247 jcvega247 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Chicago, IL
Posts: 42 jcvega247 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 3 m 18 sec
Reputation Power: 6
acces import trouble

I'm having trouble getting MS Access 2000 to import a text file in the manner that I want it. It seems almost impossible to me, but maybe someone will have an idea. The text file that is to be imported is in the following format:

field name: string of information

ex:
First Name: Jose
Last Name: Vega
(etc)

I can't type it in by hand since there's about a hundred records. All of them are in the same format so that won't be a problem. Is there any way to ommit up to the colon and import the file in that manner. Many thanks.
-Jose

Reply With Quote
  #2  
Old July 18th, 2003, 10:41 AM
rkern rkern is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 33 rkern User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
a couple of ideas
1. you can write some VB code using mid to pull the part of the string you want
2. if that is not something you are familiar with then open the file in excel or word and use the search find/replace function to delete the colon or otherwise help in reformatting the string

Reply With Quote
  #3  
Old July 18th, 2003, 07:07 PM
jcvega247 jcvega247 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Chicago, IL
Posts: 42 jcvega247 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 3 m 18 sec
Reputation Power: 6
Thumbs up

Yup, I wrote some vb and it took care of of the parsing and rearranging the one column format into the several row format. I guess I should have thought of that huh. Thanks for the help dude.
-Jose

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > acces import trouble


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway