View Single Post
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
Old 10-09-2018 , 17:27   Re: Modify a file using another file
Reply With Quote #2

I'm not sure if that's the only issue, but according to your description, the "option" part should be in file2. However, you try to get it from file1, so:
PHP Code:
parse(linetextnamecharsmax(name), optioncharsmax(option));
...
parse(linetext2name2charsmax(name2)); 
-->
PHP Code:
parse(linetextnamecharsmax(name));
...
parse(linetext2name2charsmax(name2), optioncharsmax(option)); 
If that's not the problem or doesn't fix it, I'd also request that you post some examples of the records in both of your files so we can better understand what you're working with.
Kushfield is offline