If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the access database search field.
Hello,
I have a database lets the user search for provider by specialty and county. So, if i want to serach orthopedist in Manhattan, I would type in Orthopedist in the specialty and Manhattan as the county. What I would like to do is, if the user enters either New York or Manhattan in the county field, they will get Manhattan as the county in both cases. My table has Manhattan as the county, not New York. Is it possible to do that? Table Provider Name: Specialty County John Orthopedist Manhattan The user Types in "Orhthopedist" as the specialty and "New York" as the county, I want the database to give me John Orthopedist Manhattan thanks! |
#2
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the a
one way is to use a listbox so they must choose from the list of correct
available counties - so they couldn't enter New York if it is not valid another way is to use vb code with an if/then If textboxXYA="New York" then texboxXYA = "Manhattan" End If but the vb approach requires you to anticipate what the user will enter - and that is a notoriously difficult task.... -- NTC " wrote: Hello, I have a database lets the user search for provider by specialty and county. So, if i want to serach orthopedist in Manhattan, I would type in Orthopedist in the specialty and Manhattan as the county. What I would like to do is, if the user enters either New York or Manhattan in the county field, they will get Manhattan as the county in both cases. My table has Manhattan as the county, not New York. Is it possible to do that? Table Provider Name: Specialty County John Orthopedist Manhattan The user Types in "Orhthopedist" as the specialty and "New York" as the county, I want the database to give me John Orthopedist Manhattan thanks! |
#3
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the access database search field.
|
#4
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the access database search field.
|
#5
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the a
On Nov 5, 6:36 pm, NetworkTrade
wrote: one way is to use a listbox so they must choose from the list of correct available counties - so they couldn't enter New York if it is not valid another way is to use vb code with an if/then If textboxXYA="New York" then texboxXYA = "Manhattan" End If but the vb approach requires you to anticipate what the user will enter - and that is a notoriously difficult task.... -- NTC " wrote: Hello, I have a database lets the user search for provider by specialty and county. So, if i want to serach orthopedist in Manhattan, I would type in Orthopedist in the specialty and Manhattan as the county. What I would like to do is, if the user enters either New York or Manhattan in the county field, they will get Manhattan as the county in both cases. My table has Manhattan as the county, not New York. Is it possible to do that? Table Provider Name: Specialty County John Orthopedist Manhattan The user Types in "Orhthopedist" as the specialty and "New York" as the county, I want the database to give me John Orthopedist Manhattan thanks!- Hide quoted text - - Show quoted text - I have a query setup that asks the user to enter "What Specialty are you looking for?", after the user enters the speicalty, the query than will ask "In what county?". |
#6
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the access database search field.
On Nov 6, 7:34 am, Chuck wrote:
On Mon, 05 Nov 2007 12:59:05 -0800, wrote: Hello, I have a database lets the user search for provider by specialty and county. So, if i want to serach orthopedist in Manhattan, I would type in Orthopedist in the specialty and Manhattan as the county. What I would like to do is, if the user enters either New York or Manhattan in the county field, they will get Manhattan as the county in both cases. My table has Manhattan as the county, not New York. Is it possible to do that? Table Provider Name: Specialty County John Orthopedist Manhattan The user Types in "Orhthopedist" as the specialty and "New York" as the county, I want the database to give me John Orthopedist Manhattan thanks! How many counties in the state? How many state residents know all the counties? I've never lived in NY state, but I thought Mahattan was a borough, not a county. Is there a county with the same name? That is not completely unheard of. Chuck --- Hide quoted text - - Show quoted text - Some people might call it a New York County, or Manhattan county, Just like some might call Brooklyn a county instead of calling it a Kings County. We just want to make sure that we covered all the choices. |
#7
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the access database search field.
|
#8
|
|||
|
|||
How to pull county "New york", if the user type Manhattan in the access database search field.
|
Thread Tools | |
Display Modes | |
|
|