NascarBaritone
Registered User.
- Local time
- Today, 08:13
- Joined
- Sep 23, 2008
- Messages
- 75
I was reading and following the post titled "Search Function" that I found using the search here in the forums. I followed the SearchDB.mdb file and have a working search text box in my database. My only problem is that when I search for a name that has multiple entries ("Wilson" or "Smith" for example), regardless of the name that I click on it goes to the first record with that last name.
To clarify, I have a James Wilson, Gail Wilson, and Sue Wilson in my database. When I search for "Wilson" all three come up in my pop-up box as they should, but if I click on Gail Wilson or Sue Wilson it takes me to James Wilson's record.
I have a feeling there might be a way to have it look for a unique field (First names will be unique to the last name as I don't have any duplicate names, i.e., two Sue Wilson's), but I don't know how.
Any idea where I might have strayed?
To clarify, I have a James Wilson, Gail Wilson, and Sue Wilson in my database. When I search for "Wilson" all three come up in my pop-up box as they should, but if I click on Gail Wilson or Sue Wilson it takes me to James Wilson's record.
I have a feeling there might be a way to have it look for a unique field (First names will be unique to the last name as I don't have any duplicate names, i.e., two Sue Wilson's), but I don't know how.
Any idea where I might have strayed?