|
-
November 29th, 2000, 07:01 PM
#1
Search DAT file
I have a DAT file (C:Zipcodes\SortedZi.dat)which contains zip codes, cities, and states in common seperated format.
For example: "45440","Dayton","OH"
On a form, I have a 3 text boxes:
txt.Zip, txt.City, and txt.State,
which I would like to use to display the output of this file, and a command button cmdSearch.
I want the user to enter a zip code in txt.Zip and when the Search button is pressed, the corresponding City and State appears in the textboxes. I am trying to read the file into an array of UDT and use a sequential search, but am not having any luck. Can anyone help?
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
|