Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REQUERY() causes errors when everything appears ok.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
REQUERY() causes errors when everything appears ok.
Divers
Thread ID:
00161965
Message ID:
00161965
Vues:
46
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform