L
Lebedev
I'm using Access 2000 on a Windows 2000 Pro computer.
I have a form that is bound to a table. In the form's "Current" event
procedure I have the following code:
Private Sub Form_Current()
MsgBox ("Hello")
End Sub
If I load the form on its own, the Current event fires on load, and
when navigating through the records.
However, when the form is a subform, the Current event does not fire
at all. Not on load, and not when navigating through the records using
the subform's built-in navigation buttons.
Originally the Main Form was unbounded, and the navigation buttons
disabled. I have since "bound" the Main Form to the same table as the
Subform, and linked Master/Child to the same field in the table. The
Subfrom's Current event will still not fire when using the Main Form's
navigation buttons.
I have tried to search for previous posts regarding this, but even
though there are many posts that seem to be dealing with this problem,
it turns out that those solutions don't apply to my situation.
Any help would be appreciated. This is getting very frustrating!
Thanks,
-Lebedev
I have a form that is bound to a table. In the form's "Current" event
procedure I have the following code:
Private Sub Form_Current()
MsgBox ("Hello")
End Sub
If I load the form on its own, the Current event fires on load, and
when navigating through the records.
However, when the form is a subform, the Current event does not fire
at all. Not on load, and not when navigating through the records using
the subform's built-in navigation buttons.
Originally the Main Form was unbounded, and the navigation buttons
disabled. I have since "bound" the Main Form to the same table as the
Subform, and linked Master/Child to the same field in the table. The
Subfrom's Current event will still not fire when using the Main Form's
navigation buttons.
I have tried to search for previous posts regarding this, but even
though there are many posts that seem to be dealing with this problem,
it turns out that those solutions don't apply to my situation.
Any help would be appreciated. This is getting very frustrating!
Thanks,
-Lebedev