calling a mainform subroutine from a subform

From: Tom Ross (tomross_at_pipebendersinc.com)
Date: 11/03/04


Date: Wed, 3 Nov 2004 13:14:33 -0600


I have a button 'cmdWLetters' on the main form 'SpoolTasks' Beneath the
button is a subroutine 'cmdWLetters_click()'

I want to call that routine from the doubleclick event of a control
'weldletters' on a subform 'TasksWithNames'

I can't figure out the syntax to call that subroutine from the subform. (It
works simply form a control on the main form

Private Sub weldletter_DblClick(Cancel As Integer)

cmdWLetters_click

End Sub

Tom