If you use database container then ADBOBJECTS(myarray,'table') will return database-related table names only.
>hi all,
>
>i need help to let the table FOXUSER.DBF visible=.t. at my list
>as
>thisform.list1.(FOXUSER.dbf)visible=.t.
>
>nTablesCount=adir(thisform.aTables,"*.dbf")
>thisform.list1.RowSourceType = 5
>thisform.list1.RowSource = 'thisform.aTables'
>thisform.list1.Requery()
>thisform.list1.ListIndex = 1
>thisform.list1.refresh
>
>thanks.
Edward Pikman
Independent Consultant