Is it possible to enable/disable only ONE record on a form?

  • Thread starter Thread starter Niklas Östergren
  • Start date Start date
N

Niklas Östergren

Hi!

Is it possible to enable/disable only ONE record on a continus form?

I have a checkbox which I would like to use to enable/disable only the
record it belongs to.
I enable/disable the textboxes like this on the Click event for the
checkbox:

Me.txtPhoneNo.Enabled = Not chkPrivateNumber
Me.cboTypeOfPlace.Enabled = Not chkPrivateNumber

The problem with this is that ALL records gets enabled/disabled not only the
one I want.

On the form I also have a unique key for each phonenumber stored in the
table <intPhoneID = Me.txtPhoneID>. txtPhoneID is not visible on the form.

Any idéas!

TIA!
// Niklas
 

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

Back
Top