This assumes your recordset is named: SecurityAssisttbldirectorylistings... also the semicolon should be removed whrever you have it... it should only be at the very end:
trim($SecurityAssisttbldirectorylistings('businessname');))
should be:
trim($SecurityAssisttbldirectorylistings('businessname')))