A subreport within a subreport

  • Thread starter Thread starter SHIPP
  • Start date Start date
S

SHIPP

I have the following layout:

Main form
Sub-form(1)
Sub-form(2) within the subform

In order to set the focus to Sub-form(1) I used the
following and it worked fine.

Forms!frmMemoHdr!frmMemoDetail.SetFocus

When I tried to extend this logic to the Sub-form(2)
within a sub form the focus was set back to the Main form.
The logic I used was:

Forms!frmMemoHdr!frmMemoDetail!frmMemoDetailSub.SetFocus

There were not any error messages. The focus simply
returned to the main form. Any ideas would be greatly
appreciated.
 
Back
Top