Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I make a form in access read-only?

Status
Not open for further replies.

JodieK

Instructor
Jul 27, 2001
15
GB
This is the code I have so far, but I can still edit the form...


Private Sub Command14_Click()

DoCmd.OpenForm "mainfrmCurrentEmployees"

AllowEdits = False

End Sub

Thank you

Jodie
 
goto the properties of the form and set the following to No:
Allowedits
Allowdeletions
allowadditions

or in code

me.allowedits = false
me.alowadditions = false etc etc

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top