Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBCXGetAllObjects
Message
De
03/08/2004 12:12:43
 
 
À
30/07/2004 18:56:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00929794
Message ID:
00930393
Vues:
15
Hi Javier.

>Can someone please give an example of DBCXGetAllObjects()? I might be doing something wrong, but it always return 0 (no results), even if I do a simple query:
>loMeta.DBCXGetAllObjects('Field ALL!Table', @laResults)

DBCXGetAllObjects doesn't support returning all fields in all tables, only the fields in a specific table, such as:
loMeta.DBCXGetAllObjects('Field Customers', @laResults)
to get the fields in the Customers table. You'll need to do something like this instead:
lnTables = loMeta.DBCXGetAllObjects('All!Table', @laTables)
for lnI = 1 to lnTables
  lnFields = loMeta.DBCXGetAllObjects('Field ' + laTables[lnI], @laResults)
next
Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform