Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified(0) returns 0 for view
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
GetNextModified(0) returns 0 for view
Miscellaneous
Thread ID:
00577481
Message ID:
00577481
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform