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

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
 
B

Bruce M. Thompson

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.
 
B

Bruce M. Thompson

... (by setting the control's .Lock property to "Yes")...

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top