General information
Category:
The Mere Mortals Framework
Title:
REQUERY() causes errors when everything appears ok.
The following are 3 main errors and the code, which cause each error. I received when MMF loading & refreshing views.
* This has caused many errors: Fatal error
IF IIF(goApp.lCDBK30, this.oBizObj.Requery() = REQUERY_SUCCESS, ;
this.oBizObj.Requery(tlDoNotRequeryChildren) = REQUERY_SUCCESS)
lnRetVal = IIF(RECCOUNT() > 1, FILE_BOF, ;
IIF(RECCOUNT() = 0, FILE_NORECORDS, FILE_ONERECORD))
* This has caused many errors: "lnRetVal = REQUERY()", 'Type mismatch'
this.parentclass = Cdatabehavior
this.class = Ctablebehavior
--------------------------------------------------
LOCAL lnRetVal
lnRetVal = FILE_CANCEL
IF CURSORGETPROP("SOURCETYPE") <> DB_SRCTABLE
* lnRetVal was -3 @ this point...
lnRetVal = REQUERY()
ENDIF
RETURN lnRetVal
* This has caused many errors: 'Object not found'
lnRetVal = this.oBehavior.Requery() && Requery the view.
I would appreciate any suggestions.
Thanks...
Melvin...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only