|
-
Sep 12th, 2002, 01:49 PM
#1
Thread Starter
New Member
How to display * for text in a form
I am trying to have the SSN in my employee database form display as asterisks.
-
Sep 13th, 2002, 08:56 AM
#2
Fanatic Member
Declare a string field and place your SSN number in that;
Dim strSSN as string
dim i as integer
...
...
...
strSSN = value from database
for i = 0 to len(strSSN) - 1
text1.text = text1.text & "*"
next
-
Sep 13th, 2002, 01:10 PM
#3
Put an * in the PasswordChar property of the textbox. Regardless of what is placed in the textbox, the only thing that will be displayed are astericks.
-
Sep 23rd, 2002, 09:19 AM
#4
New Member
Hi man:
Try to use Text1.PasswordChar = "*"
this work perfectly
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|