sql - Concatrelated with two parameters -
i trying use allen browne's concatrelated function in database city council ordinances. have 1 working properly, 1 in unbound field should produce string of councilor names of voted yes. has 2 parameters , keeps returning 3601 error, few parameters. votes tallied 'y' or 'n'. need sister string 'n'
=concatrelated("[lname]","[qryvotetally2]","co2_idfk =" & [co2_id] & " , " & "vote = 'y'")
the underlying sql is
select mmvotes.co_id2fk, mmvotes.vote, tblsponsors.lname mmvotes left join tblsponsors on mmvotes.counc_id = tblsponsors.spon_id
the query works on own. why?
Comments
Post a Comment