10 replies
by powlboyjr Accepted solution
by gsquared Accepted solution
You can use an OnLoad event to set the AllowEdits property of the form.
Open the form in Edit view, go to the form properties, add an On Load VB event, create a script like:
if not isnull(me!id.value) then
Me.AllowEdits = false
end if
Use whatever field would indicate this is a record that shouldn't be edited. I used "id" in my example, and "not isnull" as the criteria, but you can use any field and any value. "If me!dateadded < now() - 30 then" would make it so records added more then 30 days ago couldn't be edited, for example.
If you have other questions on this, please feel free to ask.
by powlboyjr Accepted solution
by jdmercha Accepted solution
Create a seperate form for entering data. The form fields would not be tied to the table. Provide a "Submit" button that will send the data from the form to the table.
A second form can be used to view data and not allow edits.
by maevinn Accepted solution
by powlboyjr Accepted solution
by maevinn Accepted solution
by dermot.downey Accepted solution
This discussion is closed to new replies.
Trending Software posts
Sort by Trending