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 Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contact Database Filter 1

Status
Not open for further replies.

SDS100UK

MIS
Jul 15, 2001
185
GB
Hi,

I have a simple database with contact information in it. The field that is relevant is LastName.
I want to create a button (well 26 of them!) that will jump to the first contact whose LastName matches the letter M for example. If there are no Contacts with the LastName starting M then a msgbox will come up to say so.

How would I go about this?

TIA
Steven
 
A starting point:
Me.Recordset.FindFirst "LastName Like 'M*'"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
SDS100UK
Have you see the Customer Phone List in the Northwind sample database?
 
Remou - that is PERFECT! Just what I want. I will now tailor that and make it fit my requirements



Thankyou so much.

Steven
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top