Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / March 2006

Tip: Looking for answers? Try searching our database.

Input of "Inputbox"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Les - 13 Mar 2006 09:37 GMT
Hi all, i have an input box that i need the user to put in a password
and just wondered if it is possible to just show a * as he types in the
letters as per the normal password inputbox ?

any help is much appreciated.

best regards,
RoyVidar - 13 Mar 2006 09:40 GMT
Les wrote in message
<1142239079.350697.22200@j33g2000cwa.googlegroups.com> :
> Hi all, i have an input box that i need the user to put in a password
> and just wondered if it is possible to just show a * as he types in the
[quoted text clipped - 3 lines]
>
> best regards,

I think I've seen some creative coding involving APIs and whatnots, but
I think I'd be blunt enough to state that the inputbox doesn't have
such features, and one will probably be better off creating a small
form
with a text control using the Password inputmask.

Signature

Roy-Vidar

Les - 13 Mar 2006 09:57 GMT
fredg - 13 Mar 2006 17:58 GMT
> Hi all, i have an input box that i need the user to put in a password
> and just wondered if it is possible to just show a * as he types in the
[quoted text clipped - 3 lines]
>
> best regards,

Create an unbound form with an unbound control.
Set the control's input mask property to "Password".
Add a command button to this form.
Code it's click event:
Me.Visible = False
Name this form "PassForm"

You would then call this form (instead of the InputBox).

DoCmd.OpenForm "PassForm", , , , , acDialog
If Forms!FormName!ControlName = "The Password" then
' Correct password do whatever is wanted here
Else
' Wrong Password do something else.
End if
DoCmd.Close acForm, "PassForm"

Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.