Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combining Columns

Status
Not open for further replies.

greysquirl

Programmer
Jan 31, 2001
27
US
The SQL below is what I am currently using. What I am wanting to do; if possible; is from the "Review" table I want to have a first name (FName) middle initial (MI) and last name (LName). When this query runs I want it to take the three and combine them into one column (Name) in the "Position Change" table. Is this possible?

INSERT INTO [Position Change] ( Position, DateStarted, Name, Department, EmpID )
SELECT Review.Position, Review.[Position Start], Review.Name, Review.Department, Review.EmpID
FROM Review
WHERE Review.EmpID = Forms!Review!EmpID
ORDER BY Review.EmpID;
 
insert into [Position Change] ( ..., name, ....)
select ...., FName + " " + MI + " " + LName, .... from .... John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top