>If you go into properties on a page look at the click method. You can bring up the CLICK procedure and type code in... I have a button that creates pages, but I can't figure out how to create the function / procedure for CLICK.
>
>I don't have that much experience in VFP, but 4 years in C/C++.
>
>Thank you for your time.
If you have a button that creates pages, then I assume that you have code in the Click method of the button. What does this code look like that you are running? Can you post it here?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05