LPARAMETERS tlVFPSQL AS Boolean LOCAL lcvalue, lcreturn lcvalue=this.value lcreturn="" IF !EMPTY(lcvalue) lcfield=ALLTRIM(this.oproperties.mcompareto) IF !EMPTY(lcfield) lcreturn=lcfield+" in ("+lcvalue+")" endif ENDIF RETURN lcreturnIf you are working with Jeff, he should have this and related code in his i-layer. Check out iMover_dynamicvp of ivpMover.vcx which Dan helped me with while I was working at Blencowe. This is part of the code where we put a mover in a view parameter container to allow users to select multiple regions to select records with. The mover populates This.Value referenced above with a comma separated list.