Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why am I getting a UI event?
Message
De
18/05/1999 15:15:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00220131
Message ID:
00220170
Vues:
25
>With sys(2335) I set unattended mode. This line of code has run over 2000 times with no trouble (no errors, no negitive returns):
>
>lnRet = sqlexec( phSqlHdl, pcSqlCmd )
>
>but sometimes my error handler gets called and shows this:
>
>Error: #2031, User-interface operation not allowed at this time.
>Line #: 2627
>
>which is the above line.
>
>the whole program can be found at:
>
>http://www.personnelware.com/temp/bv.prg
>
>Why is SQLEXEC() tripping a UI event?
>
>^Carl Karsten


Probably VFP is trying to display an error message. Could there be a problem with the ODBC connection?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform