Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

access forms

Posted on 2013-01-15
3
Medium Priority
?
179 Views
Last Modified: 2013-02-05
Tables:

Clients have many Files
Each file has one Employee assigned.

Forms are Clients with a subform for Files.

How would I best place a filter for filtering records based on combo box of all Employees/named employees and if based on a query how would I design that.

I already have an employeess table. and a files subform as set out above
0
Comment
Question by:topUKlawyer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 38778656
Try placing an unbound  combo box in the header of your Clients form selecting employee names and with employee ID as the bound column, and in the After Update event of the combo:


dim rs as DAO.recordset
Set rs = me.RecordsetClone

rs.FindFirst "ClientID = " & Me.cboClientSearch
if rs.NoMatch = true then
     msgbox "No Match found"
     exit sub
end if

Me.Bookmark = rs.bookmark
set rs = nothing

Open in new window

0
 

Author Comment

by:topUKlawyer
ID: 38800179
thanks might take me a few more days to test your answer please bear with me.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 38800276
No worries
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question