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 2 / July 2007

Tip: Looking for answers? Try searching our database.

Login Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Muriukis - 27 Jul 2007 13:58 GMT
HEEELLLLPPP! How do I get a textbox to reflect the username after a login on
a  different form. I have five forms and I need to have the username name
reflect on each. NB I have a table called users and another called login
which records the user logged in
Graham R Seach - 27 Jul 2007 15:26 GMT
If all you want is the username, put it in the Registry! The general
syntaxes are:
   SaveSetting appname, section, keyname, value
   GetSetting(appname, section, keyname, defaultvalue)

To store the username to the Registry:
   SaveSetting "myAppName", "Settings", "Username", Me!txtUserName

To retrieve the username from the Registry:
   Me!txtUserName = GetSetting("myAppName", "Settings", "Username", "")

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

> HEEELLLLPPP! How do I get a textbox to reflect the username after a login
> on
> a  different form. I have five forms and I need to have the username name
> reflect on each. NB I have a table called users and another called login
> which records the user logged in
 
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



©2009 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.