Which "page" has the focus???

H

Hal

Is there any way to check which page has the focus when using the "Page
Break"?


TIA Hal
 
R

Rob Oldfield

I don't think there's any native method to really do this... but you could
do something like this (on a form with a single page break)..

function pge(ctl as control) as integer
if ctl.top < Me.ctlBreak.top Then
pge=1
else
pge=2
endif
end function

....and then just feed that function the active control.
 
Top