Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function that returns if the current record was modified
Message
De
30/06/2006 17:14:09
 
 
À
30/06/2006 16:42:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01133200
Message ID:
01133210
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform