I'm wondering why my MainForm is not allowing me to Add records ( using the navigation button provided. It's greyed out, and not doing anything at 'Add records' ) Howver, my 'Subform' is. The only difference I can see, is that my Mainform uses a 'DoCmd.OpenForm' method, to set the recordsource, whereas my 'Subfrom' uses a Form.Recordsource = SQlstring.
Here are the actual code commands ...
DoCmd.OpenForm "frmAfAIS(test)", , qrySelectClientsByAdvocate, _& "Staff_ID=" & sid
DoCmd.Requery
for the MainForm, and ...
refSQL = "SELECT tblReferrals.Referral_ID FROM tblReferrals WHERE Client_ID=" & cl & " AND Staff_ID=" & sid & ";"
Me.sfrmRefs.Form.RecordSource = refSQL
sfrmRefs.Requery
for the Subform. Any help would be greatly appreciated.

Here are the actual code commands ...
DoCmd.OpenForm "frmAfAIS(test)", , qrySelectClientsByAdvocate, _& "Staff_ID=" & sid
DoCmd.Requery
for the MainForm, and ...
refSQL = "SELECT tblReferrals.Referral_ID FROM tblReferrals WHERE Client_ID=" & cl & " AND Staff_ID=" & sid & ";"
Me.sfrmRefs.Form.RecordSource = refSQL
sfrmRefs.Requery
for the Subform. Any help would be greatly appreciated.