Subject | Re: [IBO] Access Violation in Filtering |
---|---|
Author | Jason Wharton |
Post date | 2003-11-25T15:49:08Z |
> After attempting to sort after 3 days (I like to solve my own problems :),FB1.5B4
> I've admitted defeat. IBObjects 4.2 Ha, Delphi 5, Win 2000, remote
> via IP, and InfoPower 2000.violation.
>
> 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
>Please send me a sample app showing this problem.
> 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.
Jason Wharton