>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.
After loading the array (adir()), and before setting the .RowSource, you can manipulate the array to eliminate tables you don't need. For instance, you might use adel() to erase a row from the array.
I would also recommend to keep your data tables in a separate directory (folder).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)