Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting records to non modified in a table buffered view
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00659428
Message ID:
00659430
Views:
28
You can use the SETFLDSTATE function to set the fields of each of the records to "1" which is unmodified.

>I’m using a local view with BufferModeOverride = 5 (Table Optimistic)
>
>After performing a requery, I set a couple of non updatable fields to values needed to show in a grid.
>
>
>I need to set the cursor to a non modified state, but I haven’t been able to get it.
>
>I’m issuing SetFldState(,”Cursor”, 1) and everything seems to be set properly to a string of 1’s
>
>The problem is that the GetNextModified function somehow still detects those records as modified.
>
>Is there a way to set the fields or records to non modified and not have the function GetNextModified not to detect them?
>
>Thanks in advance
>
>
>Oscar Corte
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform