Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 52 in the opentables method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Error 52 in the opentables method
Divers
Thread ID:
00709425
Message ID:
00709425
Vues:
45
Kevin,

We have a user who occasionally gets an error 52 (No table is open in the current work area) in the framework's ccursor.opentable() method.

I haven't been able to reproduce it myself. They're running on a citrix server using foxpro data.

In the framework's ccursor.opentable() method there's the following line of code that's generating the error:

CURSORSETPROP('Buffering', This.BufferModeOverride, (lcAlias))

Previous to that there is a line of code:

lcUseCmd = 'USE ' + This.CursorSource + lcAlias + ;
lcNoData + lcExclusive + ' IN 0'

and

&lcUseCmd

In our error handler we include memory information and I've verified that the use command is in fact getting run with the correct alias name and not generating an error, so I don't see how cursorsetprop could generate an error in this case. It seems like if the use command succeeds then lcAlias would be open.


Another similar error was reported by a different user (also using citrix and foxpro data) in the kBizobj.OnNew() method()

In this case the line that generated the error 52 was:

IF CURSORGETPROP("SOURCETYPE") <> DB_SRCTABLE

The previous line to that was in the kBizObj.New()

lnRetVal = this.oBehavior.New()

Which just does an append blank.
It succeeded, yet the cursorgetprop failed.


These error don't make sense to me. Any thoughts on this would be appreciated.


Thanks................Murray
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform