local lcFullname
SELECT StaffList
GO TOP
SCAN
SCATTER MEMVAR
lcFullname = ALLTRIM(m.column1) + " " + ALLTRIM(m.column2)
replace column3 WITH lcFullname
ENDSCAN
GO TOP
SELECT StaffList
REPLACE ALL Column3 WITH ALLTRIM(Column1) + " " + ALLTRIM(Column2)
(This assumes that Column1, Column2 and Column3 are your actual field names. In practice, the field names would probably be something like FirstName, LastName and FullName respectively. In that case, substitute the appropriate names in the above code.)
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.