Subject Re: [IBO] FieldByName('PKEYFIELD').AsString:='XYZ' no longer works
Author Geoff Worboys
>> explicitly place the dataset in edit/insert before
>> doing the assignments.

> Wouldn't that be better coding style anyway?

I suspect that that is why the problem has not been noticed much
before now. I prefer the explicit approach, it makes the code easier
to understand later. Without the explict edit/insert call IBO
will automatically decide whether edit or insert is required - and
that may not match with what you expect to be happening at the time.

--
Geoff Worboys
Telesis Computing