Paul,
Ok, so the email address is on the same form as the ID. But something is wrong with the macro action "EmailDatabaseObject". It does not populate any of the message details, i.e. To, Subject, Message Text, even if I type something in. It doesn't make sense.
Either way, I have no clue how to auto-populate the "To" section.
And I tried the code you wrote there, putting it into the same code I have now and it didn't do anything...
Private Sub Report_Open(Cancel As Integer)
Me.Filter = "ID='" & Forms![PantryTierForm]![ID] & "'"
Me.FilterOn = True
If Not IsNull(Me.OpenArgs) Then
Me.Filter = "ID='" & Me.OpenArgs & "'"
Me.FilterOn = True
End If
End Sub
The report still shows the same error message when I try to open it in report view by itself. It will open fine in report view as long as the form is already opened. Maybe this is just a necessary process....