T
tina
just to put my 2 cents worth in: going back to your very first post in this
thread, Paul, it sounds like you had the form allowing/not allowing edits as
you wished, and the only stumbling block was being unable to use an unbound
"combobox control to select different records" when AllowEdits was set to
No.
the simplest solution for this particular situation might be remove the
combobox control from the form, and add it to a new unbound form, then add
the original form to the new form as a subform. so you can set AllowEdits to
True/False in the subform, without affecting the performance of the combobox
control in the mainform. if you have VBA code behind the combobox control to
select records, you should be able to adapt it to work on the subform's
RecordSource. or you may be able to set the subform control's
LinkMasterFields property to the combobox control name, and set the
subform's related field as the LinkChildFields property, to pull the subform
record(s) you want.
hth
thread, Paul, it sounds like you had the form allowing/not allowing edits as
you wished, and the only stumbling block was being unable to use an unbound
"combobox control to select different records" when AllowEdits was set to
No.
the simplest solution for this particular situation might be remove the
combobox control from the form, and add it to a new unbound form, then add
the original form to the new form as a subform. so you can set AllowEdits to
True/False in the subform, without affecting the performance of the combobox
control in the mainform. if you have VBA code behind the combobox control to
select records, you should be able to adapt it to work on the subform's
RecordSource. or you may be able to set the subform control's
LinkMasterFields property to the combobox control name, and set the
subform's related field as the LinkChildFields property, to pull the subform
record(s) you want.
hth