Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from several tables
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01217264
Message ID:
01218032
Vues:
18
>Naomi
>
>About your code
>
>I used the code to append from .DBFs of former folder
>and it worked fine
>
>But in another folder which has less tables, a message appears after
>processing some tables:
>
>"Subscript is outside defined range"
>
>Do you think that's because the folder has less .dbf files,
>and have to do with the number of tables inside the array ?

I think there was a bug in my code. Make sure you always use

laTables[m.lnI,1] in all the references. I think I missed the second parameter somewhere.

use (laNewTables[m.lnI]) exclusive in 0 alias NewData should be re-written to:

use (laNewTables[m.lnI,1]) exclusive in 0 alias NewData
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform