Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finodut dbc name from project
Message
From
16/09/2004 06:44:14
 
 
To
16/09/2004 06:23:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00942806
Message ID:
00942810
Views:
17
> In my project the folders are as follows
> main folder name : system
> sub folders name : forms, tables, reports etc
>
> There is a dbc entitled "accounts.dbc" in tables folder.
> Is there any method to findout dbc name, programatically,from tables folder.

You can scan the project's Files collection, e.g.
FOR EACH oFile IN _vfp.ActiveProject.Files
    IF oFile.Type = 'd' AND ATC('.dbc',oFile.Name) > 0
        ? oFile.Name
    ENDIF
NEXT 
hth
-Stefan
Previous
Reply
Map
View

Click here to load this message in the networking platform