Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change username?

0 views
Skip to first unread message

erick-flores

unread,
Jan 10, 2008, 11:31:38 AM1/10/08
to
Hello all

I have this big database and now I need to change ALL the users names.
Is there a way to rename a user name, or do I have to delete and add
it again (I DO NOT want to do this)?
I know how to change the password, but I have no idea about the user
name.

I do not want to delete then and add it again, because I will lost all
the data (I think)

Any ideas?

Thanks in advance

erick-flores

unread,
Jan 10, 2008, 11:32:39 AM1/10/08
to
I am using MS Access 2003

Tom van Stiphout

unread,
Jan 10, 2008, 9:02:17 PM1/10/08
to
On Thu, 10 Jan 2008 08:31:38 -0800 (PST), erick-flores
<erickj...@gmail.com> wrote:

Where are your user names stored? Since you're asking this in the
security newsgroup I'm thinking you're speaking of workgroup-level
security, right?
If right, how would deleting a user delete data?

-Tom.

erick-flores

unread,
Jan 11, 2008, 11:44:57 AM1/11/08
to
Yes, I do have workgroup-level security...sorry about that.

>If right, how would deleting a user delete data?

Well I am not sure thats why I said "I think"...

This is the scenario: The database control expenses for around 30+
users. Each user log in with Firstname Lastname. There are a LOT of
expenses already entered by these users. Users have their own database
on their laptops and the master database sits on a server, they sync
back n forth with it.

They want to log in using flastname. Example: Erick Flores (old user)
eflores (new user). Is there a way I can link the old username with
the new user name? I guess I understand I will not lost any data but I
want to keep the data from Erick Flores under eflores, all under the
same username..do you understand? In other words when they login to
the database, I want them to see their old data under their new
username.

Thanks for your help

BruceM

unread,
Jan 11, 2008, 12:52:55 PM1/11/08
to
The user name is stored in the security mdw file. It has no connection to
stored data. Create the new user names, then have the users log in using
the new names. They will see the same data they saw with the old user name.

"erick-flores" <erickj...@gmail.com> wrote in message
news:7a7f73e2-37f5-4754...@s19g2000prg.googlegroups.com...

Joan Wild

unread,
Jan 11, 2008, 6:18:37 PM1/11/08
to
Not exactly. I'm reading that erick is storing the username with the data that 'belongs' to that user.

So you'll need to delete all the users (no you can't change the existing usernames), recreate them, and then run a bunch of update queries to update the existing data to the new username. At least, I think that's the best way.


--
Joan Wild
Microsoft Access MVP
"BruceM" <bam...@yawhodotcalm.not> wrote in message news:%233JxNrH...@TK2MSFTNGP04.phx.gbl...

BruceM

unread,
Jan 14, 2008, 7:32:33 AM1/14/08
to
Oh, I see. I was reading it differently, but it's likely you're right. If
the new name is consistent with the example given it may be possible to use
a single query, with something like:
ShortName: Left([NameField],1) & _
Right([NameField],Len([NameField]-InStr([NameField]," "))

Even if it doesn't work in every case, it should do a lot of the work.


"Joan Wild" <jw...@nospamtyenet.com> wrote in message
news:eL0YKhK...@TK2MSFTNGP02.phx.gbl...

erick-flores

unread,
Jan 14, 2008, 11:12:53 AM1/14/08
to
Thanks for the help. I was trying to avoid deleting all the users and
re-create them, but I guess thats the only way. Thanks again.

Joan Wild

unread,
Jan 14, 2008, 3:16:06 PM1/14/08
to
It's not the only way, but it is the best in the long term.

You could add a field to your employee table with the new username, keeping the old one as well. Then you'd need to change all your queries/forms to look up the new username as needed.


--
Joan Wild
Microsoft Access MVP

"erick-flores" <erickj...@gmail.com> wrote in message news:e6be5b43-f30e-4b60...@f3g2000hsg.googlegroups.com...

erick-flores

unread,
Jan 15, 2008, 12:43:19 PM1/15/08
to
OK. I am not 100% sure when we are going to implement the new user
name. But I will look into that option if we do so. Thanks
0 new messages