PC Review


Reply
Thread Tools Rate Thread

Advancing from one page to the next

 
 
=?Utf-8?B?Q2Fycmk=?=
Guest
Posts: n/a
 
      14th Apr 2006
Greetings!

I'm creating an Access data entry form and would like to incorporate
multiple pages into the form. Specifically, I'd like to create a button at
the bottom of each page that will allow me to advance to the next page and
another button that will allow me to go back a page. I need help to make
this operational.

Thanks!
 
Reply With Quote
 
 
 
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      14th Apr 2006
By "page", do you mean the "pages" (tabs) on a tab control?

Assuming "yes", you move from one page to another on a tab control just by
setting the value of the tab control to the number of the page you want to
make visible. Page is a one-based value, so the first page (the one to the
leftmost part of the tab control) is made visible by setting the value of
the tab control to 1, the next page to the right is made visible by setting
the value of the tab control to 2, etc. Example code on a button that would
move you to the next page:

Private Sub NextPageButton_Click()
With Me.TabControlName
If .Value < .Pages.Count Then
.Value = .Value + 1
Else
MsgBox "Already on last page"
End If
End With
End Sub
--

Ken Snell
<MS ACCESS MVP>


"Carri" <(E-Mail Removed)> wrote in message
news:F7CFFAB5-C791-459F-A30A-(E-Mail Removed)...
> Greetings!
>
> I'm creating an Access data entry form and would like to incorporate
> multiple pages into the form. Specifically, I'd like to create a button
> at
> the bottom of each page that will allow me to advance to the next page and
> another button that will allow me to go back a page. I need help to make
> this operational.
>
> Thanks!



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form not advancing to confirmation page =?Utf-8?B?R2FyeSBTLg==?= Microsoft Frontpage 2 3rd Aug 2006 03:51 AM
Form not advancing to confirmation page Stefan B Rusynko Microsoft Frontpage 0 28th Jul 2006 09:35 AM
HOW DO I STOP THE TAB KEY FROM ADVANCING TO THE NEXT PAGE IN EXCE =?Utf-8?B?aGVscCBleGNlbA==?= Microsoft Excel Misc 2 11th Jun 2005 05:06 PM
Summary Page - advancing name of sheet - PART DEUX =?Utf-8?B?Y2FycmVyYQ==?= Microsoft Excel Misc 3 9th Jul 2004 11:08 PM
Summary page -advancing name of sheet =?Utf-8?B?Y2FycmVyYQ==?= Microsoft Excel Misc 2 8th Jul 2004 02:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 AM.