filter form

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Filter by form

Filter by form

resolvedResolved · Low Priority · Version 2003

Richard has attended:
Excel VBA Intro Intermediate course
Access VBA course

Filter by form

Please could you tell me how to filter datasheets by form

RE: Filter by form

Hi Richard

Thank you for your question.

First let me apologise for the delay in responding to your post, this was due to very high volumes of posts on the forum.

The easiest way to filter the data on a form is to set the form's control source to an SQL Query. For example

Me.ControlSource = "SELECT * FROM Employees WHERE Title = "Sales Representative;"

This would affectively filter the form so that it was only showing employees who are sales representative

Hope this is useful

Regards

Stephen


 

Access tip:

Hiding rows and columns

To hide a column or row in Access, you need to minimise the column or row. This can be done by placing your mouse on the right edge of a column, wait for the mouse to change to a double aroow and then drag to minimise the column

View all Access hints and tips


Server loaded in 0.05 secs.