Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if a cursor has been modified
Message
De
06/04/2006 04:32:22
 
 
À
05/04/2006 13:52:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01110707
Message ID:
01110883
Vues:
15
>>Hi all ,
>>How can I know that a cursor has been modified (deleted , modified , add new).
>>THANKS
>
>I think you can use the same buffering-related commands that you would use for a table. Activate buffering, and then use one of the following:
>
>CursorGetProp() - helps you find out whether the current record was modified.

I think
GetFldState()
it is rather usefull.

and few more from 'see also'
CURVAL( )
FIELD( )
OLDVAL( )
SETFLDSTATE()

It wld be obvioselly very usefull if VFP had something like ;
GetRecordState()
GetCursorState()

But this can be built :)

>
>GetNextModified() - gives you the recno() of a modified record, if there is one.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform