Re: executing a subform's subroutine from the main form
- From: "kingston via AccessMonster.com" <u27511@uwe>
- Date: Tue, 14 Nov 2006 17:07:41 GMT
Make sure the subform procedure is Public. Then in the main form, use:
Me.order_header_subform.Form.Totals
David Gartrell wrote:
Hi Everyone,
Wonder if someone could help. Basically I have a main form called
'Order_header' and within it a subform called 'order_header_subform'.
Attached to the subform I have a subroutine I've written called 'Totals'.
What i'd like to be able to do is to call the subform's 'totals' subroutine
from the main form but am unsure of the correct syntax. I have tried:
[Forms]![order header]![order_header_subform].totals
But without success. If anyone could point me in the right direction with
this then i'd be very grateful.
Many thanks
David.
--
Message posted via http://www.accessmonster.com
.
- Follow-Ups:
- Re: executing a subform's subroutine from the main form
- From: David Gartrell
- Re: executing a subform's subroutine from the main form
- References:
- executing a subform's subroutine from the main form
- From: David Gartrell
- executing a subform's subroutine from the main form
- Prev by Date: Re: bug in filter
- Next by Date: Re: Data going to All Records
- Previous by thread: executing a subform's subroutine from the main form
- Next by thread: Re: executing a subform's subroutine from the main form
- Index(es):
Relevant Pages
|
Loading