Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which records were actually editted?
Message
From
11/04/2000 13:15:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00358128
Message ID:
00358192
Views:
13
>>>Hi Cetin,
>>>>>>
>>>>>>I have a table in optimistic Table buffered mode. When my form is in EditMode, I can edit records, then I want to save my changes. I issue TableUpdate. My question is: how can I determine, which records were actually updated? I want to replace modidate field with datetime() for these particular records.
>>>>>>
>< snipped >
>
>I'm alittle confused here. If the records are already Tableupdated(), will Getnextmodified() return any modified records? After all, no new modifications have been performed after the table has been updated.
>
>Nadya,
>Why can't the replace the Modidate field as you enter EditMode? Do you need the exact update time? Just a thought.


Larry,
We got the question the other way :) "How can I check ... before update". In this context getfldstate() and getnextmodified() makes sense. OTOH you're right that this could be propagated to presave method or alike.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform