Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining which views are in use
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00186120
Message ID:
00186161
Vues:
15
Jim,

Thanks, this was just what I was looking for.

Rob

>If you are using the DE you can try code like this;
>AMEMBERS(laCursors,Thisform.DataEnvironment)
>FOR lnCnt = 1 TO ALEN(laCursors,1)
> IF UPPER(EVALUATE( laCursors(lnCnt,1)+".BaseClass")) = "CURSOR"
> IF STR(CursorGetProp("SourceType",laCursors( lnCnt,1)),1,0) $ "12"
> * You have a view either remote or local
> ENDIF
> ENDIF
>ENDFOR
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform