Shouldnt the formatting part be enclosed in quotation marks

Format([org_param_value].[param_effective_date],'0') (try double quotes if this doesnt work, just be sure you double them up when creating the string)