Subject RE: [IBO] Duplicating rows
Author Riho-Rene Ellermaa
UpdateData(Sender,Source,Field) is protected
method and not accessible. I don't want to start messing with IBO header files.

Riho-Rene Ellermaa
senior programmer

>2. After duplication (query i still in Insert state) the new data whows ok
>on the grid, but TIB_Edit fields (etc.) are empty. They start showing
>values only when I click on them. Should I call some kind of method to get
>the values visible in Edit fields also?

What happens if you call the UpdateData method of the edit controls?

ii: integer;
with aForm do
for ii := 0 to ComponentCount -1 do
if Components[ii] is TIB_CustomEdit and not(Components[ii] is
TIB_CustomGrid) then
if Datasource = aDatasource then
if Components[ii].Field.FieldName in (['FieldA', 'FieldB',
'FieldC']) then

Helen Borrie (TeamIBO Support)