PC Review


Reply
Thread Tools Rate Thread

Re: UserName

 
 
Eric G
Guest
Posts: n/a
 
      27th Jun 2003
Hi Jack,

I still haven't tried out the CurrentUser() function.
No time yet, and also I have to prepare for it. Last time I initiated
security I was locked out of all of my Access dbs for a couple of
days, very scary stuff.

Assuming I can get the function to work for me, would you know if I
could have my staff access the db on a server without splitting the
db?
I'd like to know if it's possible and what if anything would be the
downside to not splitting?

Thanks! Eric



On Mon, 23 Jun 2003 04:31:40 GMT, Jack MacDonald
<(E-Mail Removed)> wrote:

>Yes - that is possible. The CurrentUser() function returns the name of
>the current, logged-in Access user. Use the form's OnOpen event to
>populate a textbox with the name returned by CurrentUser().
>
>Sub Form_Open
> txtSomeTextBox.Value = CurrentUser()
>End Sub
>
>
>
>
>On Sun, 22 Jun 2003 03:35:16 GMT, (E-Mail Removed) (Eric G) wrote:
>
>>Is it possible to set up the Access/Access security
>>(UserName/Password) in such a way that when a particular form is
>>opened, the UserName that was entered to get into Access is
>>automatically entered into a control in the form?
>>
>>This is the way I currently have my .mdb file set up (without using
>>security). That is, a user logs in a user name and password on a form
>>and if the password is correct, another form opens with the user's
>>name/code entered into a control.
>>
>>If it's not possible to set up Access security in the same way that I
>>now have my user/pass functioning, can I implement Access security and
>>protect my .mdb from having two/three users logging into my main form
>>with two/three usercodes?
>>
>>I hope I've made myself clear.
>>
>> TIA Eric

>
>
>=======================================================
>Jack MacDonald
>remove UPPERCASE LETTERS from email address
>Vancouver, B.C. Canada
>Info about MSAccess user-level security
>www.geocities.com/jacksonmacd


 
Reply With Quote
 
 
 
 
Jack MacDonald
Guest
Posts: n/a
 
      27th Jun 2003
On Fri, 27 Jun 2003 04:22:05 GMT, (E-Mail Removed) (Eric G) wrote:

>Hi Jack,
>
> I still haven't tried out the CurrentUser() function.
> No time yet, and also I have to prepare for it. Last time I initiated
>security I was locked out of all of my Access dbs for a couple of
>days, very scary stuff.


See the document on the website in my signature for some advice.

>
>Assuming I can get the function to work for me, would you know if I
>could have my staff access the db on a server without splitting the
>db?
>I'd like to know if it's possible and what if anything would be the
>downside to not splitting?


Possible... but definitely NOT recommended. Splitting the database is
recommended in almost EVERY situation. Furthermore, you place a copy
of the frontend on each workstation for maximum performance and
stability.
see: http://www.granite.ab.ca/access/splitapp.htm


>
> Thanks! Eric
>
>
>
>On Mon, 23 Jun 2003 04:31:40 GMT, Jack MacDonald
><(E-Mail Removed)> wrote:
>
>>Yes - that is possible. The CurrentUser() function returns the name of
>>the current, logged-in Access user. Use the form's OnOpen event to
>>populate a textbox with the name returned by CurrentUser().
>>
>>Sub Form_Open
>> txtSomeTextBox.Value = CurrentUser()
>>End Sub
>>
>>
>>
>>
>>On Sun, 22 Jun 2003 03:35:16 GMT, (E-Mail Removed) (Eric G) wrote:
>>
>>>Is it possible to set up the Access/Access security
>>>(UserName/Password) in such a way that when a particular form is
>>>opened, the UserName that was entered to get into Access is
>>>automatically entered into a control in the form?
>>>
>>>This is the way I currently have my .mdb file set up (without using
>>>security). That is, a user logs in a user name and password on a form
>>>and if the password is correct, another form opens with the user's
>>>name/code entered into a control.
>>>
>>>If it's not possible to set up Access security in the same way that I
>>>now have my user/pass functioning, can I implement Access security and
>>>protect my .mdb from having two/three users logging into my main form
>>>with two/three usercodes?
>>>
>>>I hope I've made myself clear.
>>>
>>> TIA Eric

>>
>>
>>=======================================================
>>Jack MacDonald
>>remove UPPERCASE LETTERS from email address
>>Vancouver, B.C. Canada
>>Info about MSAccess user-level security
>>www.geocities.com/jacksonmacd



=======================================================
Jack MacDonald
remove UPPERCASE LETTERS from email address
Vancouver, B.C. Canada
Info about MSAccess user-level security
www.geocities.com/jacksonmacd
 
Reply With Quote
 
Jack MacDonald
Guest
Posts: n/a
 
      28th Jun 2003
On Sat, 28 Jun 2003 04:54:38 GMT, (E-Mail Removed) (Eric G) wrote:

>Hi Jack,
>
>
>>See the document on the website in my signature for some advice.

>
> OK will do.
>
>
>>Possible... but definitely NOT recommended. Splitting the database is
>>recommended in almost EVERY situation. Furthermore, you place a copy
>>of the frontend on each workstation for maximum performance and
>>stability.
>>see: http://www.granite.ab.ca/access/splitapp.htm

>
> Thanks I'll read up on this too.
>
>One more question. Assuming I can get the call function working for
>me, how could I quickly input ~60 user codes and passwords into Access


Depends on your typing speed ;-) 30 sec per user?

>security? Right now with my log-in form, I just match the user code
>typed in with a table of user codes.
>I'd like to avoid having to key in all of that data again.


Probably better off to just retype it, rather than writing some code
to extract the info from your table and entering it programmatically
into the account definitions. I am not aware of anything off-the-shelf
to do that task.


>
> Thanks! Eric



=======================================================
Jack MacDonald
remove UPPERCASE LETTERS from email address
Vancouver, B.C. Canada
Info about MSAccess user-level security
www.geocities.com/jacksonmacd
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin username vanished when adding new username =?Utf-8?B?SW5zcGlyZWQ4ODg=?= Windows XP Help 5 10th Oct 2005 05:24 PM
Programs not installing with Username - How to supply username Norman Rosenthal Windows XP Help 7 18th Sep 2004 07:16 PM
Programs not installing with Username - How to supply username Norman Rosenthal Windows XP Configuration 7 18th Sep 2004 07:16 PM
user profiles changes from username to username.domain David Travers Windows XP General 0 1st Sep 2004 10:20 PM
question about retreiving info from adminstrator username to current username =?Utf-8?B?c2VwdGVtYmVy?= Windows XP Help 0 5th Jan 2004 04:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:11 PM.