Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select doesn't produce an array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358484
Message ID:
01358490
Vues:
31
You cannot return an array. Pass it in by reference or return a CSV and ALINES() it upon return.

local array laTables(1)

dbc2Convert = "\\tpdfiles\data\dfreeman\tip\data\rta\rta.dbc"
GetDBCTableNames(dbc2Convert. @laTables)

for i = 1 to alen(aTables)
? aTables(i)
next

function GetDbCTablesNames( myDBC, laTables )

select objectname as tablename ;
from (myDBC) ;
where objecttype = "Table" ;
into array laArray

return
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform