Hi Mattine
Sorry I can not think why you would get that it has worked on all my forms, search the forum it has more version of doing this i think OK
Pete X-)
this works for me,
Private Sub Command30_Click()
Dim strReportName As String
Dim strCriteria As String
strReportName = "Orders"
strCriteria = "[OrderNo]='" & Me![OrderNo] & "'"
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.