Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending from several tables
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01217264
Message ID:
01218032
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform