Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there something like SetNextModified(0) = 0?
Message
From
28/02/2008 07:51:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/02/2008 14:49:33
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01296902
Message ID:
01297318
Views:
6
No problem, I need it only for existing records (just after retrieving the data and making some changes on current records)
Cetin

>Hi Cetin,
>I seem to remember trying the same idea, but it doesn't work with new records.
>
>>>>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
Reply
Map
View

Click here to load this message in the networking platform