Hi Tariq,
LOCAL liCount,lii
LOCAL ARRAY laDBCs(1)
liCount=ADIR(laDBCs,[folder/]+"tables/*.dbc","A")
FOR lii=1 TO liCount
?laDBCs(lii,1)
NEXT
MartinJ
>Dear Sir,
>
>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.
>
>Please help