If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > import data from Word into Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-12-03, 09:28
things things is offline
Registered User
 
Join Date: Dec 2003
Posts: 4
import data from Word into Access

Hi dear

I am looking for a solution to transfer information from a CV Word(XP) document into an Access (XP) database.

I have tried some ways after I searched the Internet. But mainly they only deal with table/forms in the document.

So how is the semi-structured documents like a CV?

Please help me. This is urgent as required by my employer.

You can email me or reply here. I would really appreciate any suggestion from you.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 12-13-03, 14:34
vanekl vanekl is offline
Registered User
 
Join Date: Nov 2003
Posts: 91
I don't know what a CV Word document is but if you
are referring to .csv files then all you have to do in
Access is choose menu item

File --> Get External Data --> Import...

and select the .csv file you want to import into Access.
Reply With Quote
  #3 (permalink)  
Old 12-15-03, 07:04
things things is offline
Registered User
 
Join Date: Dec 2003
Posts: 4
The CV I mean here is a personal resume

Thanks, upstairs.

The CV word doc here means a personal resume. See we have this kind of free or unstructured data format in this kind of docs.

-----------------------------------------
Name: XXXXXXX
Sex: XX
DOB: XXXXXX
Tel: XXXXXXXXXXX
Email: XXXXXXXXXXXXX
JobTitle: XXXXXXXXXXX XXXXXX
Experience: XXXXXXX;XXXXXX;XXX
-----------------------------------------
is there any way I can programe something that automatic recognize those piece of data in each doc and extract them into some midware or directly into Access db?

I know some software do provide this kind of facilities in their package. But is there anyone cheap and home-made?
Reply With Quote
  #4 (permalink)  
Old 12-15-03, 11:15
vanekl vanekl is offline
Registered User
 
Join Date: Nov 2003
Posts: 91
Re: The CV I mean here is a personal resume

Well, if your records are pretty much the same as you
have described, then all you have to do is run a sed
script to convert these into a tab-delimited record,
which the following script does.
To run this script, from the command line (DOS prompt) type

sed -f sedscript 'name_of_CV_file' > 'tab_delimited_file'

(assuming you call the following sed script 'sedscript.')

If you don't have sed installed on your machine you can
get it at http://gnuwin32.sourceforge.net/packages/sed.htm
This version of sed requires libintl-2.dll and libiconv-2.dll
that is also provided on the same HTML page.

After you create a tab-delimited text file, you suck it into
Access pretty much as I already described above.
In the following sed script the lines that start with '#'
are comments (which may remain in the script).

The following sed script should go into a text file and named
something like 'sedscript':

### Delete all the ----------- lines
s/----*$//
/Name: / {
### Read next 6 lines in as a block
N
N
N
N
N
N
### Delete 'Name:'
s/Name: *//
### Delete 'Sex:'
s/Sex: *//
### Delete 'DOB:'
s/DOB: *//
### Delete 'Tel:'
s/Tel: *//
### Delete 'Email:'
s/Email: *//
### Delete 'JobTitle:'
s/JobTitle: *//
### Delete 'Experience:'
s/Experience: *//
### Change newline to tab character
s/\n/\t/g
}
### Delete empty lines
/^$/d
Reply With Quote
  #5 (permalink)  
Old 12-15-03, 11:22
vanekl vanekl is offline
Registered User
 
Join Date: Nov 2003
Posts: 91
Re: The CV I mean here is a personal resume

Oh, and the CV Word .doc file has to be converted to a
text file, but that's easy to do because Word can save
files as plain text:

File --> Save As...
select 'Plain Text' and enter a file name
hit 'Save'
and finally hit 'OK' to get out of the 'File Conversion'
dialog (Windows(Default) line format is OK).
Reply With Quote
  #6 (permalink)  
Old 12-28-03, 17:21
mwjawish mwjawish is offline
Registered User
 
Join Date: Dec 2003
Posts: 7
what is the purpose of this

I have a better ideas for this, may be yo can create a table in WD document where you can add the data, then use some macro or VBA script to import them, i have an example on how to do it, but you have to be good at programming VBA?

what knocks my head is>>> why do yo want to do this?
Reply With Quote
  #7 (permalink)  
Old 01-05-04, 15:22
things things is offline
Registered User
 
Join Date: Dec 2003
Posts: 4
Re: The CV I mean here is a personal resume

Quote:
[SIZE=1]Originally posted by vanekl
Thanks a lot, vanekl. I will try it. But it looks not automatic. I mean I am going to transfer information from over 4000 CVs to the Access DB.

Quote:
[SIZE=1]what is the purpose of this
As I said, I am going to deal with thousands of CV Word Documents. I am sorry I don't understand quite well here about "create a table in WD document where you can add the data, then use some macro or VBA script to import them". The problem I have is all information is just listed in the Word document and unstructured and not in a form or table. Can you give me some advice on this?

Thanks indeed.
Reply With Quote
  #8 (permalink)  
Old 01-13-04, 18:31
mwjawish mwjawish is offline
Registered User
 
Join Date: Dec 2003
Posts: 7
yes i can

please send me some cv file (fake one is OK) and i'll try to make a rutin to import them in a MSaccess db via a macro
if i do it i will post it
mwjawish@hotpop.com

see you
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On