This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Method Call: GetOldValue

Hello,

i have following Code with the method call: "GetOldValue" that is working fine in v6, but not in v7:

 

Dim f as ISqlFormatter = Connection.SqlFormatter

Dim histPerson as New VI.DB.History.ColumnHistory(Base, "UID_PersonHead", Connection.LocalNow.AddDays(-100))

 if histPerson.Changes.Count > 0

      values("UID_PersonHeadOld") = histPerson.Changes.Last.GetOldValue("UID_PersonHead").ToString()

End if

I receive the Errormessage: "GetOldValue" is no member of "VI.DB.History.IObjectChangeInfo"

How is the function now properly called in v7?

Thanks Fatih

Parents Reply Children
No Data