Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • Last Modified:

Error 2031 via MS Visual FoxPro

I get the error no. 2031, everytime when i try to select more than 7000 records. This error occures
in the "sqlexec" function.

The application is realized with AFP (Active- FoxPro- Pages)

I use a Sybase SQL DB with an ODBC connect and an Sybase ODBC SQL driver.

Can somebody explane me, what this error means and why this happaned!

thx
0
blackjack020900
Asked:
blackjack020900
  • 2
  • 2
1 Solution
 
kretzschmarCommented:
maybe this?

from microsoft

Visual FoxPro Reference  

User-interface operation not allowed at this time. (Error 2031)
This error is generated when unattended server mode is enabled with SYS(2335). If possible, remove the code from your server that creates the modal state that generates this error.
0
 
blackjack020900Author Commented:
I tested this and it seems that it's worked. I will test a little bit more and if it's really work, you got the points.

thx
0
 
blackjack020900Author Commented:
I have finished my tests. It works.
thx
0
 
kretzschmarCommented:
well, glad to helped you :-)
thanks for the points

meikl ;-)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now