> 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