filter subform based on passed value to main form

I have a requirement in which a value is passed to a form thru a function.now i want the subform to be filtered with that value.e.g itemno. how to do?

Hi Pavan,

If you want to filter a subform based on a value in the mainform then use subformlink property