*SQLEXECUTERROR->GBP_SQLREPLACE 2-: *[
GBP_SQLREPLACE;
SQLSCRIPT:=
SELECT
CASE WHEN cat_WebSite_NOTE1 <> '' THEN
cat_WebSite_NOTE1
ELSE
'pixel.png'
END [cat_WebSite_NOTE1] ,
CASE WHEN cat_WebSite_desc <> '' THEN
SUBSTRING (cat_WebSite_desc, 1, 100)
ELSE
SUBSTRING (cat_desc, 1, 100)
END [cat_WebSite_desc]
FROM tbCategory
WHERE cat_id = '§CAT_ID§';
SQLFIELDS4REPLACE:=§CAT_IMG§,§CAT_DESC§;
]**