FieldName in WebDataSource.OnDataChange

Hi,


when I try to get the FieldName (or other values) from the Field variable in the event handler for OnDataChange, I get an error message:
 
ERROR
Uncaught TypeError: Cannot read property 'FFieldName' of null | TypeError: Cannot read property 'FFieldName' of null at Object.WebDataSource1DataChange...

gfdg
Any idea, how to solve this?

/Andreas


What dataset type are you using and what is the exact code in this OnDataChange event handler?

Hi,


the dataset was loaded from https://jsonplaceholder.typicode.com/posts.

The code is very simple...:

procedure TForm1.WebDataSource1DataChange(Sender: TObject; Field: TField);
begin
  WebMemo1.Lines.Add(Field.FieldName);
end;

Thx!

We have applied a fix for this. The next update will have this fix.