G
Guest
I am using the following code to open my form. No adds 'take', does anyone know why, do I have to specify acFormAdd instead of acFormEdit? My form does have allowedits, allowadds and allowdeletes set
Dim strSQL As String
strSQL = "SELECT * FROM tblSupportGroups" & _
" WHERE SupportGroup IN" & _
" (SELECT SupportGroup FROM tblSupportAreaGroups " & _
SQLSA(, , "All") & ") ORDER BY Description;"
DoCmd.OpenForm "frmUpdSuppGrps", acNormal, , , acFormEdit, acWindowNormal, strSQL
Dim strSQL As String
strSQL = "SELECT * FROM tblSupportGroups" & _
" WHERE SupportGroup IN" & _
" (SELECT SupportGroup FROM tblSupportAreaGroups " & _
SQLSA(, , "All") & ") ORDER BY Description;"
DoCmd.OpenForm "frmUpdSuppGrps", acNormal, , , acFormEdit, acWindowNormal, strSQL