Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reverting an Add
Message
From
01/02/1999 16:03:16
 
 
To
01/02/1999 15:54:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00182659
Message ID:
00182714
Views:
7
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform