trying to use interfaces in ms access vba but i get this error:
This is the code for ITest:
Option Compare Database
Option Explicit
Public Property Get ParentForm() As Form
End Property
selecting the interface with the dropdown to implement it, results in the above error.
When manually typing the expected property, the same error occurs.
Option Compare Database
Option Explicit
Implements ITest
Public Property Get ITest_ParentForm() As Form
Set ITest_ParentForm = Nothing
End Property
This is a new blank file.
I expected this to be straightforward and simple but something is wrong here.
When commenting out all the code, the error persists upon compile.