Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flaky behaviour of Timers
Message
De
27/03/2005 23:08:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Flaky behaviour of Timers
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00999358
Message ID:
00999358
Vues:
69
Hi Everyone

I have an app thet uses Data from SQLServer and Cursor adapters.

To enable multiple forms to be open, I have the data open in a separate data sessions for each form.

The whole app is wrapped in an Application class that handles the reads. _SCREEEN is visible and in it I have a timer used to shutdown all users.

Also on certain forms I have a timer that is used to "REFRESH" the display in a Grid.

The problem is that at certain times the Timer on the first form (with Grid) fires and in that split second the other form's DE loses its Datasession.

I have this from my error log.

Fields on the form are bound to data. When the form with the timer is open and another form is also open and active at the same time, when the timer on form1 fires, sometimes I get the error message on form 2 that "Alias not found" and pointing to cursor I KNOW is open at that time. The error also includes reference to the timer object. Sometimes combo boxes lose their RecordSource and error when the timer on the first form fires.

I am able to track this by using AEVENTS() and storing the complete event path in my error table.

This is extremely Flaky behaviour of the timers.

Has anyone experienced this odd behaviour?

Is there a solution to this buggy behaviour?
Répondre
Fil
Voir

Click here to load this message in the networking platform