>I'm creating a report on the fly from a form that has a pageframe with 20+ pages. I have a print button at the bottom of the form, and I want to get the active pages caption/label to print on the report. Any clues without have to save it each time a page is clicked?
>
>Kirk
thisform.pageframe1.activepage will give you the page number of the active page, so,
thisform.pageframe1.pages(thisform.pageframe1.activepage).caption should give you what you want
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges