Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 15th, 2005, 10:48 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default Password format on an InputBox

Hi all,

I'm trying to use an InputBox to enter a password, but I'm having a problem formatting it to the password format.

Here's the code I'm currently using, but it doesn't work to protect the input box entry,

inpPassword = Format(InputBox("Enter Password"), "Password")

Any Ideas?

Kevin

dartcoach
__________________
dartcoach
 
Old November 15th, 2005, 11:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Input boxes do not allow password concealing. You'd have to create a modal, pop-up form and put a field on it that has a password format on it. On the textbox's AfterUpdate event, pass the value back to the calling form.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old November 15th, 2005, 11:03 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

Greg,

Thanks for your reply. I didn't know that, and I was trying to avoid creating another form. Thanks for the help.

Kevin

dartcoach
 
Old April 18th, 2006, 04:45 AM
Authorized User
 
Join Date: Nov 2005
Posts: 41
Thanks: 6
Thanked 1 Time in 1 Post
Send a message via MSN to RobCarter
Default

You could also try to use an input mask on the text box. There is a Password format as one of the presets (I am using Access 2003)

Rob Carter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Retreiving value from InputBox maniatis1 Classic ASP Professional 1 January 4th, 2007 03:36 PM
Format inputbox jesseleon Access VBA 2 October 5th, 2005 03:14 PM
Inputbox and Formulas bahachin Excel VBA 3 February 17th, 2005 01:39 AM
MsgBox/InputBox in APS johnhoens Classic ASP Basics 5 April 9th, 2004 04:09 PM
InputBox Misbehaving bph Access 10 March 4th, 2004 01:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.