>Thanks for the help...
>
>the main reason I was doing this is so that each page could have a variable and other code.
>
>Is there anyway to create a variable durring runtime to a page?
I am not sure I understand what you are trying to accomplish...
what is a page? As in a page in a pageframe? You usually know how many pages you have at design time, so you could declare that many variables then. If your pagecount is dynamic, you could declare an array with
DIMENSION pagearray(thisform.mypageframe1.pagecount,1)
and then populate it with
FOR i = 1 to thisform.mypageframe1.pagecount
pagearray(i) = ((some function))
ENDFOR
I have no idea if this is even close to the advise you were looking for. HTH
Erik Moore
Clientelligence