Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Modules daovba ado > Im****t csv to ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 15 Topic 1465 of 1609
Post > Topic >>

Im****t csv to different tables

by =?Utf-8?B?QW5ndXM=?= <Angus@[EMAIL PROTECTED] > Apr 28, 2008 at 01:14 AM

I have a csv file that need to im****t to Access database.

The csv carries two types of data: PO header and PO lines. They are in 
different format and length, which should be im****ted into two different 
tables: tbl_header and tbl_line.

The PO header is customer name, address, etc.

The PO lines are what products are ordered.

The length of header is order type (3), order ID (4), customer name
(20)…
The length of lines are order type (3), order ID (4), line number (2),
item 
description (20), qty (2), price (##.##). 

In following case John Stewood purchases one wireless mouse worth $15.00
and 
one keyboard worth $3.5, order ID are 1000-01 and 1000-02.

Following is the example of csv
HDR1000JOHN STEWOOD

LIN100001WIRELESS MOUSE      1 1500
LIN100002KEYBOARD            1 0350

How to write the codes?
 




 15 Posts in Topic:
Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-04-28 01:14:00 
Re: Import csv to different tables
"Alex Dybenko"   2008-04-28 12:20:34 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-04-28 01:52:30 
Re: Import csv to different tables
=?Utf-8?B?Sm9lbA==?= <  2008-04-28 02:10:01 
Re: Import csv to different tables
"Alex Dybenko"   2008-04-28 19:01:21 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-04-30 10:48:01 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-05-01 19:51:00 
Re: Import csv to different tables
"Alex Dybenko"   2008-05-02 10:21:22 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-05-01 23:51:00 
Re: Import csv to different tables
"Douglas J. Steele&q  2008-05-02 06:48:49 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-05-04 23:35:01 
Re: Import csv to different tables
"Douglas J. Steele&q  2008-05-05 07:29:42 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-05-06 21:19:00 
Re: Import csv to different tables
"Douglas J. Steele&q  2008-05-07 07:12:58 
Re: Import csv to different tables
=?Utf-8?B?QW5ndXM=?= <  2008-05-08 00:19:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 16:13:30 CST 2008.