I have a text file with each line a new record.
Each record has 3 fields on each line. They are always in the same location.
Example:
022313 534672 13251- More notes.
121913 342231 40251
First value is a date field: "OrgDate"
022313 It should go into a date field called OrgDate as 02/23/2013
Second Field: Seal
534672 This is a text field called "Seal".
Third Field: "SC"
13251 This is a text field called "SC"
Fourth Field: "PerNote"
- More note. It may or may not start with "-". Regardless it is never more than 20 characters of text. It only contains text about 12% of the time, if that.
Note: the text values always start as the following and always the same width.
OrgDate: start 1 & 6 wide
Seal: Start 8 & 6 wide
SC: Start 15 & 5 wide
PerNote: 20 & 20 wide
Bob
Each record has 3 fields on each line. They are always in the same location.
Example:
022313 534672 13251- More notes.
121913 342231 40251
First value is a date field: "OrgDate"
022313 It should go into a date field called OrgDate as 02/23/2013
Second Field: Seal
534672 This is a text field called "Seal".
Third Field: "SC"
13251 This is a text field called "SC"
Fourth Field: "PerNote"
- More note. It may or may not start with "-". Regardless it is never more than 20 characters of text. It only contains text about 12% of the time, if that.
Note: the text values always start as the following and always the same width.
OrgDate: start 1 & 6 wide
Seal: Start 8 & 6 wide
SC: Start 15 & 5 wide
PerNote: 20 & 20 wide
Bob