Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetNextModified(0) returns 0 for view
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
GetNextModified(0) returns 0 for view
Divers
Thread ID:
00577481
Message ID:
00577481
Vues:
43
Hi everybody,

Here is code fragment from grdBatchCntrl.AfterRowColChange event:
lparameters ncolindex
local m.lnRecno
lnRecno = recno('BatchCntrl')
if this.nCurRec <> m.lnRecno
	with thisform
		select FilingView
		set step on
		if getnextmodified(0)>0
*if messagebox("Do you want to save changes in the FilingDate table?",36,"Save?")=6
			=tableupdate() && Update the record, so it would not complain
*else
*   =tablerevert()
*endif
		endif
I've checked it, and it returns 0 regardless of my changes in FilingView. Do you see the problem with this code?
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform