>Try that again without the typo's
>
>local lnTally
>local array laTables(1)
>
>dbc2Convert = "\\tpdfiles\data\dfreeman\tip\data\rta\rta.dbc"
>lnTally = GetDBCTableNames(dbc2Convert. @laTables)
>
>for i = 1 to alen(laTables)
>? aTables(i)
>next
>
>function GetDbCTablesNames( myDBC, taTables )
>
>select objectname as tablename ;
>from (myDBC) ;
>where objecttype = "Table" ;
>into array taTables
>
>return _TALLY
GRRRRR!
:-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.