If it's always a one word suffix then try

#Left(yourQuery.yourColumn, Len(ListLast(yourQuery.yourColumn, " ") + 1))#

Not tested but it looks right.

Ade

-----Original Message-----
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: 23 February 2005 21:48
To: CF-Talk
Subject: OT-SQL matching


For a CF page I am doing I need to out put matched results. However in one
table I have last names with a suffix like "MOLINA JR" and in another table
the last name and suffix are in different columns. I need to strip out the
suffixes as well as the preceding space in the first column. Any ideas. I am
trying a few thing and it is not working.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196195
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to