Need help in query for finding search results [message #185970] |
Fri, 04 August 2006 09:45 |
grk28
Messages: 38 Registered: June 2006
|
Member |
|
|
Hi,
I am having a search screen where in results will be based on last_name which contains two text boxes as follows
Last_Name : _________(From Alphabet)___________(To Alphabet)
So,If i give them as 'A' and 'C' then it should display all the name starting with A,B& C.
If i give then as 'AB' and 'TE' then it should display all the names starting with 'AB' till 'TE' (First two letter being TE).
If I give them as 'ABB' and 'CATH' then it should display all the names starting with 'ABB' till 'CATH'.( As the series contains the Letter B ,it should also display all names with B till it reaches the CATH pattern ).
Hope my requirement is clear.
So,I need query for this.
Immediate help would be appreciated.
Thanks in Advance.
|
|
|
|
|