473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to create an e-mail as a sum of columns?

Hi, my company has about 3000 employees and I have their names and
family names as two columns of my db.
Because the e-mail address of my company is made this way:
Name: name
Family Name: familyname
email address is: nf*********@xyz.com

I'd like to create a column having automatically the first letter of
the name plus the family name plus the @xyz.com

How to do that?

Thank you.

Ataru

Nov 13 '05 #1
3 1175
<at**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi, my company has about 3000 employees and I have their names and
family names as two columns of my db.
Because the e-mail address of my company is made this way:
Name: name
Family Name: familyname
email address is: nf*********@xyz.com

I'd like to create a column having automatically the first letter of
the name plus the family name plus the @xyz.com

How to do that?

Thank you.

Ataru


=Left([Name],1) & [Family Name] & "@xzy.com"
Note: You shouldn't use reserved words (like: "Name" ) for field names.
Fred Zuckerman
Nov 13 '05 #2
Fred Zuckerman wrote:
<at**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi, my company has about 3000 employees and I have their names and
family names as two columns of my db.
Because the e-mail address of my company is made this way:
Name: name
Family Name: familyname
email address is: nf*********@xyz.com

I'd like to create a column having automatically the first letter of
the name plus the family name plus the @xyz.com

How to do that?

Thank you.

Ataru

=Left([Name],1) & [Family Name] & "@xzy.com"
Note: You shouldn't use reserved words (like: "Name" ) for field names.
Fred Zuckerman

I wonder what he does when he has a John, James, Jane, June Smith?
Nov 13 '05 #3
"Salad" <oi*@vinegar.com> wrote in message
news:0q*****************@newsread3.news.pas.earthl ink.net...
Fred Zuckerman wrote:
<at**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi, my company has about 3000 employees and I have their names and
family names as two columns of my db.
Because the e-mail address of my company is made this way:
Name: name
Family Name: familyname
email address is: nf*********@xyz.com

I'd like to create a column having automatically the first letter of
the name plus the family name plus the @xyz.com

How to do that?

Thank you.

Ataru

=Left([Name],1) & [Family Name] & "@xzy.com"
Note: You shouldn't use reserved words (like: "Name" ) for field names.
Fred Zuckerman

I wonder what he does when he has a John, James, Jane, June Smith?


I suppose his HR dept catches that during job interviews and won't hire
duplicates. :)
Fred Zuckerman
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
10
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
9
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
2
by: masri999 | last post by:
I have a requirement in SQL 2005 in Development database 1. Schema dbo owns all objects (tables,views,SPs,UDFs etc) . 2. Only DBA's ( who are database owners ) can create, alter tables ....
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
4
by: JohnnyDeep | last post by:
I am trying to create a store proc that contain a create index with the cluster option and I receive DB21034E The command was processed as an SQL statement because it was not a valid Command...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.