Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there something like SetNextModified(0) = 0?
Message
De
28/02/2008 07:51:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/02/2008 14:49:33
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Divers
Thread ID:
01296902
Message ID:
01297318
Vues:
7
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform