I cant´get this to work.
- Connectiojn is successful
- I can retrieve the list of tables
I try to get the entities:
procedure TForm1.btn3Click(Sender: TObject);
var
tbl: TTMSFNCCloudMyCloudDataTable;
ent: TTMSFNCCloudMyCloudDataEntity;
begin
tbl := myclLOG.TableByName('WR_LOG');
tbl.Query();
for var i: integer := 0 to tbl.Entities.Count - 1 do begin
ent := tbl.Entities[i];
ml.Lines.Add(ent.ValueAsString['email'] + ' ' + ent.ValueAsString['action']);
end;
end;
The table has records, but they are not retrieved - count is 0.
What am I missing?