GoToPage


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.




Access VBA Programming
Microsoft Access VBA Programming for the Absolute Beginner
ISBN: 1598633937
EAN: 2147483647
Year: 2006
Pages: 214
Authors: Michael Vine

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net