Code: Select all
Public Partial Class NewEmail
Method AcceptSaveAndSendEmail() As Logic Pascal Class NewEmail
Return Self:AcceptAndSaveAndOrSendEmail(True, False, True, Null_date)
Method AcceptAndSaveAndOrSendEmail(lSend As Logic, lAuto As Logic, lCheckAddress As Logic, dSendDate As Date) As Logic Pascal Class NewMail
ENDCLASS //Newmail
So the CLASS xx is optional, like a comment.
Why then do I get this error in the 2nd method then? The first method is fine, with the 2nd method just below (so in the same class) the 1st, only this error shows (until I remove class NewMail again which I don't want)
Error XS9016 Class name NewMail for method differs from parent class name NewEmail
Dick