It says it 'can't build a link between unbound forms' ( I'm using a DoCmd method in the VBA code) for the main form. I know wehn you use the wizard it 'links the Main Form and subform at design time, but I need more flexibility over the recordsets. Hope this makes sense. Here's the main form's code ...
DoCmd.OpenForm "frmAfAIS(test)", , qrySelectClientsByAdvocate, "Advocate_ID=" & rs.Fields("Advocate_ID")
This loads the required records, I now wish to select only records based on a common field 'Client_ID' to both recordsets ( which doesn't actually show on the form ) to display in the subform datasheet view. Thanks.
