RefreshDataClient Sample not work

Hi,

I have try the example RefreshDataClient of the RemObjects Data Abstract for .NET - 7.0.75.1117.

Unfortunately the function IUpdateEvent.OnUpdateUnblock to read a single row does not work;
the RemoteDataAdapter.Fill function with exp (whereExpression) as parameter, gets no data; However if one removes the parameter exp (whereExpression), it works, it means that it reads the complete table.

Why?

Hello

This is a minor bug in the data request method - wrong data type is used in the primary key condition. Namely sample uses there GUID while it should be String. Code there should look like (appr at code line 155 in the MainForm.cs)

  if (isReadRow)
  {
    //Read one row
    WhereExpression exp = new BinaryExpression(new FieldExpression("ClientId"),
                              new ConstantExpression(pkField, DataType.String),
                              BinaryOperator.Equal);

    remoteDataAdapter.Fill(clientsDataset, new String[] { "Clients" }, new WhereExpression[] { exp });
  }

Works perfect,
Thanks