Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I tell if a view is open at runtime?
Message
 
À
13/07/2000 23:20:40
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00392218
Message ID:
00392228
Vues:
10
>What is the best way to tell if a view is open at runtime?
>
>I have the following code in the init of the form. (the view's name is of course "intrancust")
>

Simplified:
IF !USED('intrancust')
   USE intrancust IN 0 
ENDIF
SELECT intrancust
INDEX ON stocknum TAG stocknum  && it should not be "intrancust" because that's where your tags will be automatically placed.  And besides, your order name is descriptive.  

SET ORDER TO stocknum && instead of SET ORDER TO intrancust
Why not use the Data Environment instead?
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform