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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concatenate fields

Status
Not open for further replies.

redbay

Technical User
Oct 13, 2003
145
GB
How can i concatenate first name and last name fields in dreamweaver. please
 
For asp

select FirstName + ' ' + LastName as FullName from Customers

Dodge20
 
Where do i put this i, tried it in the advanced section of the recordset and it didnt like any of it?
 
That is the asp code, you will have to find your select statement in the code section and format it something like i posted above.

Dodge20
 
why not use the database to do to work?
make a querry and compund the fileds in it...
QRY
-------
Compund: Table![FirstName] & " " & Table![LastName]
-------

then simply pull the querry as another 'table view'
mostarnet.com/tutorials/access/compund.zip


if u care only to have it displayed on page as compund then use what dodge20 said....or simply drag and drop firstname lastname field from recordset

if ur looking to do some more qurries and what not then I say make your DB do the work vs. page
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top