Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entering Passwords
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062230
Message ID:
01062257
Views:
11
>I have a grid for maintaining users with the usual stuff, name password, etc. I have the passwords in a text box on the grid with the PasswordChar set to '*' and there is a button on the form that changes the PasswordChar to '' so the supervisor can view the passwords when needed. (No grips please, this is a customer demand.)
>
>The only thing the customer doesn't like is that the length of the password is visible in the number of '*' in the text box. I can think of a few complex ways to solve this but does anyone have a simple way?
>TIA

Pad the password with a known character, like underscore (_).
Padr(Password,20,"_")
then trim them off when saving or displaying.

But Borislav solution is easier.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform