Page 1 of 1

Accessing a field of a closed dataset

Posted: Fri 09 Oct 2009 09:28
by tonisanta
Hi,
when access a field of a closed dataset, an exception like 'Field [xx] not found' is raized. For us 'programmers' it would help to identify the problem if a 'Cannot perform this operation on a closed dataset' (defined in DBConsts.pas with SDataSetClosed) would be raized.
best regards
Toni

Posted: Fri 09 Oct 2009 12:00
by Dimon
Field [xx] not found' is correct exception, because you can get access to field on closed dataset, if this field was created manually, for example in IDE Field Editor.