revver
Active Member
- Joined
- Dec 20, 2007
- Messages
- 257
In my .mdb database I have a continuous form whose record source is
It displays fine. Now I want to add a [Continue] button and have it load another form which will ask for parameters.
When I use the wizard to add the new button everything appears to work. However, when I now try to save the form I am told to set property HasModule to No before I can save.
even with the do-the-job lines REMed out, the error persists.
Code:
SELECT Contact.ContactID, Contact.FirstName, Contact.LastName, Contact.PreferredSalutation,
Contact.emailAddr, Contact.Celphone, Contact.IsActive, Contact.IsChosen
FROM Contact
WHERE (((Contact.emailAddr) Is Not Null) AND ((Contact.IsActive)=True))
ORDER BY Contact.FirstName;
When I use the wizard to add the new button everything appears to work. However, when I now try to save the form I am told to set property HasModule to No before I can save.
WHAT does the standard wizard code to load a new form have that is upsetting access 2010? Here is the wizard's code andThis form contains changes that are incompatible with the current db format. The form was not saved.
In order to save your changes you must remove any layouts that have empty cells in them and/or set the HasModule property to No
even with the do-the-job lines REMed out, the error persists.
Code:
Private Sub cmdMore_Click()
On Error GoTo Err_cmdMore_Click
Dim stDocName As String
Dim stLinkCriteria As String
'stDocName = "frmBlastType"
'DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmdMore_Click:
Exit Sub
Err_cmdMore_Click:
MsgBox Err.Description
Resume Exit_cmdMore_Click
End Sub