A family of Microsoft relational database management systems designed for ease of use.
Well, the same kind of code should work just fine. It doesn't make any difference that it's on a subform!
Again: what is the datatype of PECN - in table design view is it a Number or is it Text? If it is Number then you want code like
stLinkCriteria = "[PECN]=" & Me![PECN]
but if it is text you need the quotes:
stLinkCriteria = "[PECN]='" & Me![PECN] & "'"