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.
while not dataset.eof
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.
Correct. You can use
AfterOpen event which is fired after the dataset is finally loaded, asynchronously.