Apparent mismatch between IDE parser and compiler on several TWebClientDataset methods

If I enter WebClientDataset1.OpenAsync or WebClientDataset1.Refresh in the IDE, there is no evident error. But at runtime the browser reports that these functions don't exist. Perhaps these methods have no purpose if the CDS has no connection property (I'm not sure) but is it expected for the IDE not to report the error?

Hi, I've checked and this methods exist. We also dropped a button on an exist WebClientdataSet demo and called Refresh, the method does what is intended. Can you provide some more details?

Thanks for your reply, here are more details.

Using the TWebClientDataset demo, I dropped a second WCDS onto the form and added the code shown in screenshot. The ShowMessage response indicates that the cloning worked:


But the console shows the OpenAsync execution error message:

The Refresh line is not reached in this case, but if the line above it is commented out it provides the same sort of execution error. You can see that the IDE parser finds no problem with either line.

However, as you said, those methods do run without error on the first WCDS1, so I'm guessing that the real error is with the GetClonedDataSet() method--or my use of it. Right? What am I doing wrong here?

Found the error, the GetClonedDataSet returns the incorrect instance. We have fixed this here now. Thanks for pointing out. TMS WEB Core update will have this fix included.

Great news, thanks. How soon will the update launch?

There is ongoing work, as soon as that is ready we'll release an update. Most likely beginning next week.

Thanks.