A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

saving and locking information in a form



 
 
Thread Tools Display Modes
  #1  
Old December 28th, 2009, 12:18 AM posted to microsoft.public.access.forms
Kazlou
external usenet poster
 
Posts: 24
Default saving and locking information in a form

I have a form that will be used by a number of people to input their
evaluation of clients. Each person will be responsible for certain clients.
I'd like them to be able to input their information, save it and be able to
go back to review it, then when finally happy with content lock the
information so it can't be altered.
Is this possible?

thanks for your help
Karen


  #2  
Old December 28th, 2009, 12:26 AM posted to microsoft.public.access.forms
Piet Linden[_2_]
external usenet poster
 
Posts: 280
Default saving and locking information in a form

On Dec 27, 6:18*pm, Kazlou wrote:
I have a form that will be used by a number of people to input their
evaluation of clients. Each person will be responsible for certain clients.
I'd like them to be able to input their information, save it and be able to
go back to review it, then when finally happy with content lock the
information so it can't be altered.
Is this possible?

thanks for your help
Karen


not that easy in Access. In SQL Server, since there's real security
and you can expose stored procedures to your users, you can control
everything they do. If you're doing it in Access, it's not as easy.

you could create a field in your table that indicates whether the
record is locked or not. Then in the Current event of the form (so
your users can have NO direct access to tables), you can set the
AllowEdits property to True/False depending on whether the record is
locked. Something like...

Say you have a hidden checkbox on your form, chkRecordLocked
Sub Form_OnCurrent()
Me.Locked = Me.chkRecordLocked
End Sub

The problem is that you have NO control over what users to in your
tables (if you expose them). Or in the updateable queries (if you
have any).
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.