YOu will need to loop this code:
THISFORM.pgf.ACTIVEPAGE = IIF(THISFORM.pgf.ACTIVEPAGE = THISFORM.pgf.PAGECOUNT, ;
1, THISFORM.pgf.ACTIVEPAGE + 1)
To This
FOR i = 1 TO THISFORM.pgf.PAGECOUNT
lnPage = IIF(THISFORM.pgf.ACTIVEPAGE = THISFORM.pgf.PAGECOUNT, ;
1, THISFORM.pgf.ACTIVEPAGE + 1)
IF THISFORM.pgf.Page(lnPage).enabled && whatever property your using to identify it as being disabled
* the page is enabled go to it
THISFORM.pgf.ACTIVEPAGE = lnPage
EXIT
ENDIF
NEXT
this isnt tested but should be along the lines of what you need.
HTH
Jon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only