>Does anyone know of a way that I can use a private data session for my code in a timer?
>
>I'm working with an application that we are in the process of converting from Fox 2.6 to VFP 6, and we are doing it in incremental steps. So, we need the product to stay functional as we update it to VFP 6.
>
>Here's the problem, many forms (.spr's) are, of course, still using the default data session. When our timer fires, it of course screws up record pointers, etc. So, the easiest solution, for now, would be if we can force the code that runs from the timer to use it's own private data session.
>
>I've tried creating a data session in the init of the timer, and then setting that as the current data session throughout the timer event, but I get really weird results doing this.
>
Have you tried adding the timer to a Session Object?