Thanks Cheang, I would love to see it, could you email me at the addresses in the signature.
>I have created a class that my coworkers have been using to push and pop table environment. There is only 2 functions in this class, Push and Pop.
>
>I could email it to you, if you like. It was created in VFP 7.
>
>notes: I personally never used this class. :)
>
>
>
>
>
>>Okay Thanks. I have to use it in methods, so I guess I'll create a function.
>>
>>>>Is there an easy and least coding way to save and restore the state of the current alias. I want to save RECNO, FILTER etc., then change the rec pointer sum(), etc. and then I want the alias back to the state I had when I started.
>>>
>>>Creating private data sessions will do it. Or, if you wish to remain within the same data session, then, as you say, creating a function to do this will do. Basically, it's not that much. Within about 20 lines, you should be able to do it.