I am trying to go through all records in my XDATAWEBDataset and load them into COMBOX control but if I do it right after calling the LOAD method of the dataset my dataset contains no records.
dataset.load;
dataset.first;
while not dataset.eof
do begin
...
dataset.next;
end;
However if I open a popup form with the grid to show the records I see that the data is there.
I think i figured this out. It is working now.
I was coming from the vcl applications where when you call a function/method application waits until it is finished. Here it just calls the load method and moves to the next line of code where i am trying to work with the data which is not ready yet.