RefreshParams missing from IDADataset in DA8 - causes "Cannot find item X in collection..."

Hi,

I was using the following code in a DA7 delphi server:

ids := Connection.NewDataset(SomeSQL);
ids.RefreshParams;  // need this to prevent "Cannot find item 'ID' in collection"
ids.ParamByName('ID').AsString := SomeIDValue;
ids.Open;

However, now I’ve moved to DA8 and RefreshParams is no longer available. And now I’m getting Cannot find item “ID” in collection of type TDAParamCollection again.

What replaced RefreshParams, or how do I cure this?

Cheers,
Staurt

should works for you

Thanks Evgeny :slight_smile: