Combo Box Navigation doesn't work

cable

Access For My Sins
Local time
Today, 05:23
Joined
Mar 11, 2002
Messages
226
I'm using the
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[ApplicantID] = " & Me![cboFindPerson]
Me.Bookmark = Me.RecordsetClone.Bookmark
Me.Refresh

Code in a afterupdate event of a combo.

This works ok during normal behaviour, unfortunatly I need a read only version of the form, so I set allow edits to false, now the cbo doesn't work
frown.gif


Is there a way of getting the combo box navigation to work?

Or more generally whats the best way to make parts of the form read only and leave others.
 
Check properties. You can set any control you want read only to locked.
 
Is that the only way? going through every control and locking it? and then unlocking the others?

Damn...any quick way of doing the above?
 
You can set the tags for those you want enabled to a value then loop through the controls collection to accomplish what you want.

Try something like
dim ctl as control
For each ctl in Me.Controls
if ctl.tag = "WhateverValue" then
ctl.Enabled = true
Else
ctl.Enabled = False
end if
next ctl
Do a search for Tag Controls on this fgorum. There are over 200. You will find what you want.

[This message has been edited by Jerry Stoner (edited 04-18-2002).]
 

Users who are viewing this thread

Back
Top Bottom