Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method that fires before the data session is selected?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01309739
Message ID:
01309769
Vues:
7
When doing the test in a form with a private data session it is always shown as in use because it is in use in the 1st data session. Is there anyplace in the form code can be run before the form selects the private data session?

You can use code like this in the form's Init():
lnDS_ID = SET( "DATASESSION" )
SET DATASESSION TO 1
IF USED( "WhatEver" )
  *** the table is in use
ENDIF
SET DATASESSION TO lnDS_ID
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform