PDA

View Full Version : Jump to pages


Unknown 2010
02-12-2009, 11:56 AM
Hi,

** I have 100 pages, their names are :
Unit1
Unit2
Unit3
Unit4
Unit5
Unit6
Unit..


In the main page, there is inputbox and button,
What I need is : The user enter the number of the page then he click on the button to jump to the page . Could you give me the suitable code for Button_Click ?

** What is the max pages in AMP ?

holtgrewe
02-12-2009, 12:26 PM
Here's one way to accompish that:

Assuming you have already established an input variable.

WhatPage = Input.GetText("Input1")

On Button Click:
Page.Jump("Unit"..WhatPage)

I think that should do it for you.