Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adbojects doesn't reference Tables properly in a databas
Message
 
 
À
11/09/1998 17:25:19
Nancy Remillard
Indiana University Grad School
Bloomington, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134691
Message ID:
00135710
Vues:
8
Nancy,

I've got a couple of DBC utilities that just use a SELECT to get that kind of info:
select ObjectName ;
   from (lcDBC) ;
   into array gaTables ;
   where ObjectType = "Table" and ! deleted()

for i = 1 to _tally
   gaTables[i] = alltrim( gaTables[i] )
endfor

select ObjectName ;
   from (lcDBC) ;
   into array gaViews ;
   where ObjectType = "View" and ! deleted()

for i = 1 to _tally
   gaViews[i] = alltrim( gaViews[i] )
endfor
>We are already using 'set database to' before we call the code, any other ideas?

Is it possible that you've got a corrupt DBC or DCX file for the third database? Does the third one work is you run your code against it first?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform