Is there a DoCmd.OpenForm command that does not allow a user to go through previous records within a form? I know that "NoAdditions" will prevent them from going forward, but how do you prevent them from going backwards?
No Additions will only prevent the addition of new records.
If you want the user to see 1 record only then you need to specify that when you open the form:
DoCmd.OpenForm "frmViewClient",,,Where "ClientID=" & Me.ClientID
- frmViewClient would be changed to the name of the form you wish to open
- ClientID is the name of the field in the forms query that you wish the form to show
- Me.ClientID is the control at the location you are starting from that matched the record you wish to show
Frank J Hill
FHS Services Ltd.
frank@fhsservices.co.uk
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.