P
Petr Danes
I have a form with a subform in continuous view, sometimes the subform has
records to display, sometimes not.
There are command buttons in the header of the subform, because I want to be
able to do certain things even when there are no records. If I had them in
the body, they would not be visible when there were no records.
When I click any of the buttons, I get a pop-up saying "No current record".
I click OK and the dialog goes away, and the code under the button runs
normally. There is no code associated with the Current event, no events at
all associated with the form, body or header. No code or anything I have
created seems to be activated and the subsequent code from the command
buttons works fine. This error also occurs when there are no records and I
click "Design View".
Where can this error be originating?
Pete
records to display, sometimes not.
There are command buttons in the header of the subform, because I want to be
able to do certain things even when there are no records. If I had them in
the body, they would not be visible when there were no records.
When I click any of the buttons, I get a pop-up saying "No current record".
I click OK and the dialog goes away, and the code under the button runs
normally. There is no code associated with the Current event, no events at
all associated with the form, body or header. No code or anything I have
created seems to be activated and the subsequent code from the command
buttons works fine. This error also occurs when there are no records and I
click "Design View".
Where can this error be originating?
Pete