Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there something like SetNextModified(0) = 0?
Message
From
27/02/2008 12:05:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01296902
Message ID:
01296929
Views:
11
>>I want GetNextModified(0) return 0 after I have made changes to a buffered cursor (namely a CursorAdapter cursor) without calling TableRevert/Update. Is there a way (VFP is holding them somewhere but how to access and change)?
>>TIA
>>Cetin
>
>I saw this, but never tried it:
>
>BEGIN TRANSACTION
>TABLEUPDATE(1, .t., [Cursor])
>ROLLBACK
>
I think I have found an indirect way:
with oCA
 .AllowUpdate = .f.
 tableupdate(2,.t.,.Alias)
 .AllowUpdate = .t.
endwith
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
Next
Reply
Map
View

Click here to load this message in the networking platform