Hi.

I have a text file that looks like this. Each one on its own line

88087761 - Box 1
88087762 - Box 2
88087763 - Box 3
...
Etc.

The Numbers are barcodes and the "box 1" is the description of what is inside that box.

On my form i have a Text box, a button and list box

my objective is to have the barcode number(88087761 etc) inputed in the text box and when the user clicks the button it brings up the description for that box in a listbox. i have looked around and can't really find anything on searching a text file and getting a line back into the form.. any help would be grateful.

thanks