Hi all,
I have Filter combo box FormA with subformB.
The VBA code I use for combo box is After Update even: Me.Requery
The subform is with RecordSorce with SQL:
If I set on Property sheet on the Form Allows Aditions to "No", all Grids on the form is gone (hide) before I choose combo box Emploee
I have Filter combo box FormA with subformB.
The VBA code I use for combo box is After Update even: Me.Requery
The subform is with RecordSorce with SQL:
It is works well, but I want to disable Record buttons New (blank) record, because if pressed I can not add new activity - The form ask for EmploeeSELECT qry_ОtherАctivities .*, *
FROM qry_ОtherАctivities
WHERE (((qry_ОtherАctivities .Emploee)=[Forms]![fm_Object]![fm_ОtherАctivitie]![cbo_Emploee]));
If I set on Property sheet on the Form Allows Aditions to "No", all Grids on the form is gone (hide) before I choose combo box Emploee
Attachments
Last edited: