Usage of XRec?

Peter_WijntjesPeter_Wijntjes Member Posts: 28
In what circumstances does XRec contain the last read value from the database?

Why does this not work in Dataport?
Contact.Get(No);
if Contact.Name ='Old name' then begin
  Contact.Name:= 'New name';
  Contact.Modify(True);
end;

When debugging into Contact.OnModify
value of
xrec.Name = 'New name'
and
rec.Name = 'New name'

Why :shock:
Peter Wijntjes
MBS NAV Consultant

Comments

Sign In or Register to comment.