General information
Category:
Forms & Form designer
I went back and looked at one I wrote, a script for a call center with 50 pages and no page tabs. I made a ThisForm.udfPageToMoveTo() method, which accepted the destination page (name or page number) and a few other parameters, and mainly issued ".ActivePage=". The click code of all the decision / navigation buttons just calls the method and passes where it needs to go.
Yours is a bit different because your "Next" button has to respond to a different context for every page, so I can see why you have chosen the other way - if you use your container somewhere else, you want the branching logic to go with it. If in fact that is unlikely, my guess would be that one big method would ultimately be easier to maintain than lots of identically named little ones. Anyway, good luck.
Previous
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