S
Stevrino
Guest
I have a table I need to generate from a file I receive.
The file contains many records.
The first record will be a header record
The second record will be Detail record
The third will be information.
Then the next group of records will start, and so on.
I will populate 3 tables, Header, Detail, and Information.
The problem I have is if there is more data than 1 for each of the above.
Example.
You will have 1 header record.
3 Detail records
3 Information records
The Information records have a field stipulating Line 1, Line 2, Line 3 and they may show in any order.
The detail records do not have this field however they are in the proper order. Line 1 then line 2 then line 3.
How can I created a field in the table to stipulate which line it is so I can link it back to the information table.
I would then need to restart the numbering for the next record group.
Have I been clear enough with this explanation?
Stevrino
The file contains many records.
The first record will be a header record
The second record will be Detail record
The third will be information.
Then the next group of records will start, and so on.
I will populate 3 tables, Header, Detail, and Information.
The problem I have is if there is more data than 1 for each of the above.
Example.
You will have 1 header record.
3 Detail records
3 Information records
The Information records have a field stipulating Line 1, Line 2, Line 3 and they may show in any order.
The detail records do not have this field however they are in the proper order. Line 1 then line 2 then line 3.
How can I created a field in the table to stipulate which line it is so I can link it back to the information table.
I would then need to restart the numbering for the next record group.
Have I been clear enough with this explanation?
Stevrino