Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching by First letter?

Status
Not open for further replies.

whatsthehampton

Programmer
Sep 13, 2005
121
CA
Dear all,

I am trying to search my database of families by passing in the first letter as @choice using:-

where (familyname like + @Choice + '%')
order by familyname asc

This works as it should except when the names are Scottish such as McGarva or McIntosh etc.

All help most appreciated,

Cheers,
J



 
Dear Both,

My mistake, this code is correct. The problem was that other related data was missing which truncated the records brought back.
Many thanks for your time.
Jon

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top