Using a combo box to select a record on a read-only form

  • Thread starter Thread starter Jonathan Blitz
  • Start date Start date
J

Jonathan Blitz

I am trying to use a combo box to select a specific record within a read
only form.

I use the wizard to create the combo and select the option to use it as a
search combo.

When I opent the form I get the first record and cannot then move on. When
I opent he combo it does not let me choose any other entry.
It seems that the combo is also read-only.

What am I doing wrong

Jonathan Blitz
 
I am trying to use a combo box to select a specific record within a read
only form.

I use the wizard to create the combo and select the option to use it as a
search combo.

When I opent the form I get the first record and cannot then move on. When
I opent he combo it does not let me choose any other entry.
It seems that the combo is also read-only.

What am I doing wrong

You're right, making the form read-only locks all data controls whether bound to
a field or not. Instead of making the form read-only, you'll need, instead, to
set the form to allow edits, then lock all fields/controls (by setting the
control's .Lock property to "Yes") that you don't want the user to be able to
edit. This can be done in code when opening the form.
 
... (by setting the control's .Lock property to "Yes")...

Make that the ".Locked" property. <g>
 
Back
Top