Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function that returns if the current record was modified
Message
From
30/06/2006 17:14:09
 
 
To
30/06/2006 16:42:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133200
Message ID:
01133210
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Using table's buffer mode to 5.. Is there a way/function.. testing on record level.. If the field was modified or not on past operations..
>
I found this that solve my needs..
Sele mytable
lnCurRec                        = Getnextmodified(0)

If  lnCurRec = 0
Else
	* DO until all modified records are processed.
	Do While .T.

		* Move to the current modified record.
		Goto (m.lnCurRec)

		=Tablerevert(.F.)

		* Get the next modified record from here.
		lnCurRec                = Getnextmodified(m.lnCurRec)

		If m.lnCurRec = 0 && No more modified records.
			Exit
		Endif

	Enddo
Endif
thanks

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform