Subject Re: [IBO] Access Violation in Filtering
Author Jason Wharton
> After attempting to sort after 3 days (I like to solve my own problems :),
> I've admitted defeat. IBObjects 4.2 Ha, Delphi 5, Win 2000, remote
FB1.5B4
> via IP, and InfoPower 2000.
>
> I investigated and isolated it using a simple form/query.
> wwIBOQuery1.sql = Select * from [table]. (datasource not necessary)
> FilterString = 'ID > 0' (all rows anyway)
> onfilterrecord event assigned (does nothing atm)
>
> I have a button on the form to make the query active.
> when FetchWholeRows = false, button is clicked, the first few rows are
> fetched fine.
> when FetchWholeRows = true, button is clicked and I get an access
violation.
>
> This happens in
> procedure TIBODataset.RecordFilter( ARow: TIB_Row; var Accept: boolean );
> ... Move( ARow.RowBuffer^, TempBuffer^, RecordSize );
> and TempBuffer hasn't been created/set.
>
> Anyone had this experience/fix?
> Any help much appreciated, thanks.

Please send me a sample app showing this problem.

Jason Wharton