Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine source of workarea
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01043543
Message ID:
01043549
Vues:
7
CURSORGETPROP("SourceType") will answer your question about views and CursorAdapter, CURSORGETPROP("Database") - what DBC table belongs to.

>
>How does one determine the type of record set in a given work area? I'd like to know:
>
>a) if the table is a cursor (not too hard with a check of dbf())
>b) if the table belongs to a database, and if so which one
>c) perhaps other sources (cursoradapter etc)
>
>CURSORGETPROP() doesn't see to get me there... any ideas?
>
>The use case here is a generic exportToExcel() function that will respect long filenames, captions etc if they are present for the passed workarea.
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform