I have a form with two sub-forms. The main form is named frmOrders. The 1st subform is named subfrmProjectPurchaseOrdersDS and is a datasheet view form and has a field named txtPOnumber that is a hyperlink field. There is a 2nd sub-form named subfrmOrderParts. which is a datasheet view form also. One of the fields on that form is named txtCustomerPOn.
When the user click the hyperlink on the 1st sub-form I need the 2nd sub-form to display only the records that have the same value as the field clicked on.
What would the onclick code look like?