Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the DBF name
Message
From
08/05/2001 18:13:46
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00505043
Message ID:
00505045
Views:
23
This message has been marked as the solution to the initial question of the thread.
>ADBObjects(laTables, 'Table') returns the alias name given to the tables in the DBC. This is NOT the actual DBF name returned by the OS. For example, CREATE TABLE 'SRCTYPES.DBF' NAME 'SOURCE_TYPES', would return SOURCE_TYPES in the ADBObjects() function. What function will give me the actual DBF filename WITHOUT opening the table first and using the DBF() function?
>
>TIA!

The closest I can think of is
DBGETPROP("TableName", "Table", "Path")
This is the file name and path relative from the DBC.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform