Command Buttons on subforms

  • Thread starter Thread starter Griffi
  • Start date Start date
G

Griffi

Please help.

I have a Main form with subforms which are broken up int
in different page via page breaks. Now the problem I have
is that I have put command buttons on the main form and
subform to enable me to vove about that form.

Problem

I have a command button on the main form that move to a
sub form on that same form this works fine. the code in
which I used is as follows:

Code,, [Me.gotopage 2]

The above code works fine and it moves me to that page.
On the second page I have nearly the same button to do
the same but this time go back to page 1 as seen below:

Code,, [Me.gotopage 1]

This however does not work annd I am unsure why? If I
place that button on the form Footer it will work then. I
am not really wanting to do this however because I have
my Form navigations buttons there and I really don't what
the Footer to get congessted.

Can anyone please help with this I will be very grateful

Thanks
 
I'm sorry, but I cannot *see* (understand) what you're doing here. In
ACCESS, a page is a part of the tab control when speaking of a form. But I
sense you're talking about "breaks" in the visual display of the form on the
screen?

More details, please.
 
Back
Top