Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Included or not
Message
From
14/07/2003 05:07:48
 
 
To
14/07/2003 04:52:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00809748
Message ID:
00809749
Views:
40
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform