Microsoft Access VBA Programming for the Absolute Beginner
Moves to a designated page of a multipage form.
Syntax
DoCmd.GoToPage PageNumber[, Right][, Down]
with the following parameters:
PageNumber
A valid page number on the current form.
Right
A horizontal offset in twips indicating which part of the page you want displayed.
Down
A vertical offset in twips indicating which part of the page you want displayed.
Comments
-
If PageNumber is omitted, the focus remains on the current page.
-
The Right and Down arguments have an effect only if the page exceeds the visible area of the screen.
-
The GoToPage method is little used, in part because it’s been replaced by the Form.GoToPage method, and in part because the Tab control offers a superior method of presenting multipage form data.
Категории