Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Filter by form
Resolved · Low Priority · Version 2003
Richard has attended:
Excel VBA Intro Intermediate course
Access VBA course
Please could you tell me how to filter datasheets 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 columnsTo 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 |
We'll call during UK business hours
Server loaded in 0.06 secs.