Passworded Field

  • Thread starter Thread starter bob engler
  • Start date Start date
B

bob engler

I have a form that has credit card and check data in several fields. Is
there
a way to put some on those fields that would only show the data if the user
was entitled to see it?

Thanks....
 
Hi Bob,

in the form OnCurrent event (and AfterUpdate event of the
control that determines if they are entitled if applicable)

'~~~~~~~~~~~~
If YOURCONDITION_forEntitled Then
Me.controlname.InputMask = ""
'or other InputMask
Else
Me.controlname.InputMask = "Password"
End If
'~~~~~~~~~~~~

Warm Regards,
Crystal
Microsoft Access MVP 2006

*
Have an awesome day ;)

remote programming and training
strive4peace2006 at yahoo.com

*
 
Back
Top