P
Paul
This seems so simple but I can't get it. I've read the many posts on
this subject but I still don't get it. Worse, I know I've done it
before.
tblAttendees has fields FirstName, LastName, and Username. Username is
not populated.
I'd like to create a simple Username for each person from first three
letters of first name plus first three letters of last name. Don't
worry, this is not a high security situation (or they wouln't let me
touch it).
The SQL that results from my query worksheet (didn't they used to call
this qbe?) is
UPDATE tblAttendees SET tblAttendees.Username =
(Left$([tblAttendees].[FirstName],3)) &
(Left$([tblAttendees].[LastName],3));
When I go from design mode into datasheet mode (to see the results) I
get a single column with not data.
I've tried it using Left as well as Left$
I've checked that all three fields are text fields.
Once I do this, I'd like to add a new field Password. I'd like to
creat a simple password that is the first letter of LastName plus five
random numbers. I'm happy to use a single kernal or whatever you call
it, maybe something off the computer clock.
Thanks,
Paul
this subject but I still don't get it. Worse, I know I've done it
before.
tblAttendees has fields FirstName, LastName, and Username. Username is
not populated.
I'd like to create a simple Username for each person from first three
letters of first name plus first three letters of last name. Don't
worry, this is not a high security situation (or they wouln't let me
touch it).
The SQL that results from my query worksheet (didn't they used to call
this qbe?) is
UPDATE tblAttendees SET tblAttendees.Username =
(Left$([tblAttendees].[FirstName],3)) &
(Left$([tblAttendees].[LastName],3));
When I go from design mode into datasheet mode (to see the results) I
get a single column with not data.
I've tried it using Left as well as Left$
I've checked that all three fields are text fields.
Once I do this, I'd like to add a new field Password. I'd like to
creat a simple password that is the first letter of LastName plus five
random numbers. I'm happy to use a single kernal or whatever you call
it, maybe something off the computer clock.
Thanks,
Paul