cboFindRecord doesn't work if Data AllowEdits is set to NO

  • Thread starter Thread starter RoMi
  • Start date Start date
R

RoMi

It is a 'school' example: on a form one can use a record selector to see
some data like FirstName, FamilyName, address data etc. All the data may be
selected and seen, but not edited by the default.

To find some data in a faster way I use a cboFindRecord on the same form to
select the FirstNname expecting to see all appropriate data. But it doesn't
work until I change a form property AllowEdits to YES.

How to find a record without giving a chance to a user to change data even
accidentaly? Have I to use a code to control this property only or is there
some simple solution that I haven't learned yet?

Thank you.
 
As you found, settgin AllowEdits to No prevents entry in any control - even
unbound ones.

The workaround is to set the Locked property to Yes for your bound controls.
If they are all locked, the user cannot alter anything even though the
form's AllowEdits property is Yes.
 
Allen Browne said:
As you found, settgin AllowEdits to No prevents entry in any control - even
unbound ones.

The workaround is to set the Locked property to Yes for your bound controls.
If they are all locked, the user cannot alter anything even though the
form's AllowEdits property is Yes.

The explanation is reasonable. Thank you.
 
Back
Top