Re: How to change username?
- From: "BruceM" <bamoob@xxxxxxxxxxxxxxxx>
- Date: Mon, 14 Jan 2008 07:32:33 -0500
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" <jwild@xxxxxxxxxxxxxxxx> wrote in message news:eL0YKhKVIHA.724@xxxxxxxxxxxxxxxxxxxxxxx
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" <bamoob@xxxxxxxxxxxxxxxx> wrote in message news:%233JxNrHVIHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
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" <erickjflores@xxxxxxxxx> wrote in message
news:7a7f73e2-37f5-4754-b405-f8b9d0e0c710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
.
- Follow-Ups:
- Re: How to change username?
- From: erick-flores
- Re: How to change username?
- References:
- How to change username?
- From: erick-flores
- Re: How to change username?
- From: Tom van Stiphout
- Re: How to change username?
- From: erick-flores
- Re: How to change username?
- From: BruceM
- Re: How to change username?
- From: Joan Wild
- How to change username?
- Prev by Date: Re: vb code disabled in trusted location Access 2007 db
- Next by Date: Re: How to change username?
- Previous by thread: Re: How to change username?
- Next by thread: Re: How to change username?
- Index(es):
Relevant Pages
|
Loading