One of my forms needs to trigger a sub-form (actually it's a sub-sub-form) to navigate to a specified record.
To accomplish this, the main form called a procedure inside the sub-form, which uses a "GoToRecord" to navigate to the appropriate record.
Interestingly enough, it's the main form navigates to the specified record and not the sub-form (I need the main form to stay at the current record and the sub form to go to the specified record).
Even if I explicitly call "setfocus" on the sub form it still does not work. I tried callin "GoToControl", but it gives an error message that "The Command or Action 'GoToControl' is not available now".
Any ideas
Thx
To accomplish this, the main form called a procedure inside the sub-form, which uses a "GoToRecord" to navigate to the appropriate record.
Interestingly enough, it's the main form navigates to the specified record and not the sub-form (I need the main form to stay at the current record and the sub form to go to the specified record).
Even if I explicitly call "setfocus" on the sub form it still does not work. I tried callin "GoToControl", but it gives an error message that "The Command or Action 'GoToControl' is not available now".
Any ideas
Thx