Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finodut dbc name from project
Message
De
16/09/2004 06:44:14
 
 
À
16/09/2004 06:23:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00942806
Message ID:
00942810
Vues:
18
> 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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform