I posted a question like this a couple of weeks ago, but I still can't get it to work.
Let me do a better job describing what I need. I have a table full of street segments and addresses.
Street Name Start Address End Address
MAIN 1000 2000
MAIN 1001 1999
This is for the left and right side of a street. I want to build a query that will permit someone to enter and address, say 1020 Main and get the first record. So how do I go about searching both the Start Address and End Address fields at the same time with a passed parameter?
I don't think a union query will work--this is all in one table. It is a non-equi join. Can anybody give me a hint at how to do this?
Let me do a better job describing what I need. I have a table full of street segments and addresses.
Street Name Start Address End Address
MAIN 1000 2000
MAIN 1001 1999
This is for the left and right side of a street. I want to build a query that will permit someone to enter and address, say 1020 Main and get the first record. So how do I go about searching both the Start Address and End Address fields at the same time with a passed parameter?
I don't think a union query will work--this is all in one table. It is a non-equi join. Can anybody give me a hint at how to do this?