Determining Page Numbers

Rosebud22

New member
Local time
Today, 01:28
Joined
Aug 28, 2001
Messages
8
Hi,

Can someone please help me to figure out how to determine page numbers of a form that is separated by page breaks?

I'm trying to write code something like this

If current page is page #1 Then
Select Case KeyCode
Case 33
KeyCode = 0
End Select
End if

to disable the pageup key if the user is already at the top of the form. (Currently, if this is the case, the system takes the user to the previous record, which I don't want to happen.)

Any ideas?

Thanks,
Rosebud
 
I don't know if this will completely help you but on the form if you set the Cycle proper to Current Record then the user is not able to page up. They can page down however. I have not worked with multiple forms so I'm not sure how this will affect it.
 

Users who are viewing this thread

Back
Top Bottom