-
Searching problem
Ok, i'm having a bit of trouble with my search code, for my project. Basicly what it is going to do, will be going into my inventory file(which is a data file, writes to my hard drive) and find a "catalog number". On my main form, there is a Catalog entry field. The user inputs the catalong number they wish to find, then it fills int he rest of the empty fields. There is Discription, Height, width, and Quanty. Also when the search button is pressed it should disable the add button. If no such catalog number can be found, a mesg should be displayed, telling so.
Thanks
-
You need to give more information. What is the data file? Is it a database or something you created yourself?
-
nope the data file is a sequencal file.
-
The easiest way will be to read the file into arrays and then loop through the array.
-
ummmmm..... I've never used that way before.
-
Post the line of code that actually reads the file, and I can help you more.