I've tried different things but can't get this to work.
I have a text file (call it "file1.txt")
"file1.txt" has the following text lines;
line ref:aaa
line ref:bbb
line ref:fff
I have a check string in an forms textbox;
i.e. ddd
I want to be able to open the text file and add the check string into the file at the appropriate alphabetical place.
i.e.
the files 4 lines would read as follows;
line ref:aaa
line ref:bbb
line ref:ddd
line ref:fff
hope this makes sense and someone can help me out.
I have a text file (call it "file1.txt")
"file1.txt" has the following text lines;
line ref:aaa
line ref:bbb
line ref:fff
I have a check string in an forms textbox;
i.e. ddd
I want to be able to open the text file and add the check string into the file at the appropriate alphabetical place.
i.e.
the files 4 lines would read as follows;
line ref:aaa
line ref:bbb
line ref:ddd
line ref:fff
hope this makes sense and someone can help me out.