Subform lock selected columns only

reez88

Registered User.
Local time
Tomorrow, 02:31
Joined
Jun 3, 2011
Messages
12
Hi,

Is there anyway to lock some columns in a subform and leave others editable?

I have attached a database below. In the form 'frmAttendances' I like to keep the 'present' column editable and lock the rest out.

I know if I use a continuous form and have separate controls this is possible. But I like the look of a datasheet. :)
 

Attachments

accdb can not be opened by Users with Access < 2007

You may get more responders if you attach a copy in mdb format.
 
thanks for the information.

I have attached a file in mdb format here..
 

Attachments

Your Subform is based directly on your Query, qryAttendanceSubform, which doesn't give you the ability to lock Controls. You need to
  1. Create a Form based on this Query
  2. In Design View of this Form, lock the desired Controls
  3. Go into Design View for your Main Form, frmAttendances and change the SourceObject for the Subform from the Query to your newly created Form.
Linq ;0)>
 
Thanks a lot Linq,

I have followed your instructions and the form behaves exactly the way I wanted it to.

Many Thanks.
 

Users who are viewing this thread

Back
Top Bottom