'Sealing' a record.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We are creating a database for telesales. When the operators have finished
entering the details on a record we want to 'seal' the record so it cannot be
edited again. Does anyone know a way of doing this?
 
Aircode:

Sub Form_Current()
If Me.NewRecord = False Then
Me.AllowEdits = False
Else
Me.AllowEdits = True
End
End Sub

This will lock the form, but not the underlying tables. To do that, you must
implement User-Level security and create and MDE. That will keep out all but
the most determined users. If you have a user who even tries to break into
the database, fire them as they are untrustworthy. Have a look at the
Security FAQ for more details:

http://download.microsoft.com/download/access97/faq1/1/win98/en-us/secfaq.ex
e
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
ChrisLarge said:
We are creating a database for telesales. When the operators have
finished entering the details on a record we want to 'seal' the
record so it cannot be edited again. Does anyone know a way of doing
this?

Do you need to protect the record from accidental edits or from
intentional edits?
 
Hi Joseph,

Thanks for your response. It is to protect from accidental edits.

from Chris
 
Thanks Arvin.

Arvin Meyer said:
Aircode:

Sub Form_Current()
If Me.NewRecord = False Then
Me.AllowEdits = False
Else
Me.AllowEdits = True
End
End Sub

This will lock the form, but not the underlying tables. To do that, you must
implement User-Level security and create and MDE. That will keep out all but
the most determined users. If you have a user who even tries to break into
the database, fire them as they are untrustworthy. Have a look at the
Security FAQ for more details:

http://download.microsoft.com/download/access97/faq1/1/win98/en-us/secfaq.ex
e
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
ChrisLarge said:
Hi Joseph,

Thanks for your response. It is to protect from accidental edits.

from Chris

Good, then you have a good solution provided by Arvin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top