Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run time error too many variables under for next loop
Message
From
10/09/2004 15:30:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/09/2004 13:57:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941135
Message ID:
00941194
Views:
9
>I am using VB with foxpro to insert records via ADO object, using recordset.
>
>I am getting error after inserting exactly 256 records everytime.
>And it breaks by giving a runtime error message "Too many variables"
>
>Records are inserted one by one in the for loop.
>
>I searched on internet i found the following mentioning about MVCOUNT.
>Fox pro has a limit for variable maintenance, is it possible for me to clear the MVCOUNT for each round in the loop.
>
>I am not at all familiar with MVCOUNT.
>
>Please if any one knows how to clear the variables which are maintained by foxpro while i run my program.
>because i have lot of records to be inserted to foxpro dbf table. via for next loop.
>
>Thank you very much.

Raj,
I truely wonder the code. Might it be you're using something like rs.getrows and 256*fcount > 65000?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform