Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Error 52 in the opentables method
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement