N
Newbie
Hi
I have a fixed width text file with which I would like to compare the no. at
position 20 with the result of a query. Is this possible? if so where do I
begin?
Eg Query returns result
Job = 00404123
Op No = 1
Rate = 2
Text File
L004041230001WC1 1
Pos 2 to 9 = Job
Pos 10 to 13 = Op No
Pos 14 to 19 = info
Pos 20 = Rate
Where Job and Op No are the same (text file and query) and the Rate is
different I want to update the Pos 20 of the text file with the rate
returned in the query.
I have a fixed width text file with which I would like to compare the no. at
position 20 with the result of a query. Is this possible? if so where do I
begin?
Eg Query returns result
Job = 00404123
Op No = 1
Rate = 2
Text File
L004041230001WC1 1
Pos 2 to 9 = Job
Pos 10 to 13 = Op No
Pos 14 to 19 = info
Pos 20 = Rate
Where Job and Op No are the same (text file and query) and the Rate is
different I want to update the Pos 20 of the text file with the rate
returned in the query.