ddisabling a txtbox using VB

  • Thread starter Thread starter Adien
  • Start date Start date
A

Adien

I'm attempting to disable a txtbox after it's been updated with old
data, so that it can't be accidently changed. I tried
me.ChickenR.locked and me.ChickenR.disablewhen but both are giving
invalid use erros. Any suggestions?

Thanks,
Adien
 
I'm attempting to disable a txtbox after it's been updated with old
data, so that it can't be accidently changed. I tried
me.ChickenR.locked and me.ChickenR.disablewhen but both are giving
invalid use erros. Any suggestions?

Thanks,
Adien

The correct syntax is:
Me.ChickeR.Enabled = False (or True)
or
Me.ChickenR.Locked = False (or True)
 

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