Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reverting an Add
Message
 
 
À
01/02/1999 15:54:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00182659
Message ID:
00182714
Vues:
9
>>>When a user does a TABLEREVERT(), is there some way of knowing if adding that record was reverted? ie: They added a record and reverted before saving, so the effect is of deleting the record.
>>>
>>>Thanks,
>>>
>>>-Michelle
>>
>>Right before you issue your TABLEREVERT() couldn't you check
>>

>>
>>IF GETFLDSTATE() = '4' and DELETED()
>> SomeCode
>>ENIDF
>>=TABLEREVERT()
>
>
>Make that
>IF '4'$GETFLDSTATE(-1)AND DELETED()
> SomeCode
>ENIDF
>=TABLEREVERT()

I might be able to use GETFLDSTATE(), depending on if TABLEREVERT() actually changes it or just flushed the record.

Thanks,

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform