|
-
May 19th, 2002, 03:20 PM
#1
Thread Starter
Addicted Member
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
-
May 19th, 2002, 04:25 PM
#2
PowerPoster
You need to give more information. What is the data file? Is it a database or something you created yourself?
-
May 19th, 2002, 04:52 PM
#3
Thread Starter
Addicted Member
nope the data file is a sequencal file.
-
May 19th, 2002, 05:00 PM
#4
PowerPoster
The easiest way will be to read the file into arrays and then loop through the array.
-
May 19th, 2002, 05:01 PM
#5
Thread Starter
Addicted Member
ummmmm..... I've never used that way before.
-
May 19th, 2002, 06:01 PM
#6
PowerPoster
Post the line of code that actually reads the file, and I can help you more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|