Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private Data Session for a Timer?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00331191
Message ID:
00331210
Vues:
16
>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?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform