Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Included or not
Message
De
14/07/2003 05:07:48
 
 
À
14/07/2003 04:52:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00809748
Message ID:
00809749
Vues:
38
Guillaume,

File() will return TRUE for both built-in/external tables/files

FileExists() will return TRUE only for external tables/files (RunTime, this is)
*--------------------------------------------------------------------------
Function	FileExists(FileName)
        declare Integer GetFileAttributes in win32api string @

	return (GetFileAttributes(@FileName) <> -1)
endfunc
*--------------------------------------------------------------------------
>Hi,
>
>Is there a way to determine if a certain table is included in the project or not? Before it is opened, I need to determine if it's a build-in or external table .
>
>Thanks again
>
>Guillaume
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform