Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uncommitted changes
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00409144
Message ID:
00409146
Views:
20
>Is there a way to tell if a view has uncommitted changes without causing an error message?
>
>thanks.
>Jay

Jay,
If you are using table buffering then you can use the GetNextModified function.

return GetNextModified(0,"myViewAlias") <> 0 && return .T. if table was modified

If you are using row buffering then you can use GetFldState.

return !empty(chrtran(GetFldState(-1,"myAlias"),"1","")) && returns .T. if current record was modified in any way (deleted, recalled or changed)

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform