A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
If the formatting rules or styles of your HTML require <p> elements, then consider this expression too:
CSZ = Concat(
'<p>' + nullif(Trim(AP300.Address1), '') + '</p>',
'<p>' + nullif(Trim(AP300.Address2), '') + '</p>',
'<p>' + nullif(Trim(AP300.Address3), '') + '</p>',
'<p>', Trim(AP300.City), ', ', Trim(AP300.State), ' ', Trim(AP300.Zipcode), '</p>' )
The empty or null address lines will be excluded. It is also possible to adjust the last line to avoid unneeded ‘,’ in case of missing City.