I have a switchboard with the following private functions for opening forms. The problem is that the OpenFormsAdd() Function only works with one form which is based on a table. The other form is based on a query, but with not open in Add mode, instead it shows all records. Can acFormadd be used with a query recordsource?
Private Function OpenForms(strFormName As String)
DoCmd.OpenForm strFormName
End Function
Private Function OpenFormsAdd(strFormName As String)
DoCmd.OpenForm strFormName, , , , acFormAdd
End Function
Thanks a lot,
Joey