Good Morning,
I'm trying to save time, hopefully cutting down the usual 5-8 hours of editing in VFP, using a CASE statement to edit obscenly long columns for Piggy-Back label purposes. My reasoning is we are limited between 30-35 characters.
I've tried this SQL but it's obviously changing all data within the column matching the "THEN" clause.
Select Name, Title =
CASE
WHEN TILE LIKE '%President% THEN 'Pres.'
ELSE TITLE
END
From TBL1;
Title is currently - 'Senior Vice President for Media and Public Education'.
Target is - 'Sr. V.P. for Mda & Pblc. Ed.'
Any suggestions?
David
I'm trying to save time, hopefully cutting down the usual 5-8 hours of editing in VFP, using a CASE statement to edit obscenly long columns for Piggy-Back label purposes. My reasoning is we are limited between 30-35 characters.
I've tried this SQL but it's obviously changing all data within the column matching the "THEN" clause.
Select Name, Title =
CASE
WHEN TILE LIKE '%President% THEN 'Pres.'
ELSE TITLE
END
From TBL1;
Title is currently - 'Senior Vice President for Media and Public Education'.
Target is - 'Sr. V.P. for Mda & Pblc. Ed.'
Any suggestions?
David