Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Workarea changes in the middle of a method
Message
 
 
À
13/01/2009 06:48:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01373118
Message ID:
01373119
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Hello,
>
>Clicking a button on a form calls a method that creates a cursor (with SELECT FROM) which is to be the basis of a report. Somehow the selectted cursor changes to the main form cursor before the report is actually run. After that the report prints correctly. SET STEP after the query *sometimes* shows the cursor changed right after the SELECT !
>
>I suspected a timer might be changing workareas, which only happens once, so I set it's interval to 0 and the problem still occurs.
>
>What else might be causing a sudden unexplained workarea switch?
>
>TIA,
>
>Alex

Do you have a grid on the form? See Forms with Grids and printing reports FAQ #15515
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform