matthewnsarah07
Registered User.
- Local time
- Today, 08:49
- Joined
- Feb 19, 2008
- Messages
- 192
I have a Health & Safety check database.
At the moment a manager enters and presented with frmmain, which contains subform frmsubmain which is a list of that managers staff based on a one to many relationship between field [TMID] in tbltm and tblstaff.
I have also got a query running in the background (qryppe) that list all the check entries made by that manager in tblppe.
The subform is continuous forms with a button next to each name to open the check form, using a DLookup or similar I would like to disable this button is that persons [staffname] appears within the query qryppe.
How would I write this DLookup?
Thank for your help as always
At the moment a manager enters and presented with frmmain, which contains subform frmsubmain which is a list of that managers staff based on a one to many relationship between field [TMID] in tbltm and tblstaff.
I have also got a query running in the background (qryppe) that list all the check entries made by that manager in tblppe.
The subform is continuous forms with a button next to each name to open the check form, using a DLookup or similar I would like to disable this button is that persons [staffname] appears within the query qryppe.
How would I write this DLookup?
Thank for your help as always