instructorgirl
Instructor
I have a subform on a form. On the subform I have a details button. When I click on the details button I want to show the records for the current week. My linking fields are [lngEmpID] and [Monday]. My field [Monday] is the field I want to use pull the current record.
My code is as follows:
stLinkCriteria = "[lngEmpID]=" & Me![lngEmpID] & " and [Monday]=" & Chr(34) & Me![Monday] & Chr(34)
When I click on the details button, it pulls up only the records for the current employee but also ALL of the records for the time entry records as well.
Any help would be greatly appreciated. Thanks!
My code is as follows:
stLinkCriteria = "[lngEmpID]=" & Me![lngEmpID] & " and [Monday]=" & Chr(34) & Me![Monday] & Chr(34)
When I click on the details button, it pulls up only the records for the current employee but also ALL of the records for the time entry records as well.
Any help would be greatly appreciated. Thanks!