>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao