![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am working on an application that interfaces with an AS400. The AS400 programmers I am working with at the client, are not very flexible. They are providing me with data for the initial database load for the application to go live. After that my app will take care of all data manipulation. My problem is, for the initial import, I have a single row in a CSV file that holds a customer record, it is then followed by three fields for product information that repeat based on the products that that customer has. I know the number of fields leading up to the repeating portion and I know that from that point on, every three fields goes to one record. In my database the customer record is in a seperate table from the products in a one to many relationship. I need to write a script or DTS package that will manipulate the data and create the related records in both tables. Can this be done? Is there a simple way to do it? Any hints as to what to try or where to look would be greatly appreciated. Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |