Access Violation in gds32.dll with IBX.....(sigh)

AV at address 40560698 in mod. 'gds32.dll'. Read of add. 6E617071

Basically, I have two IBDataset's, master and detail.  Both have calculated
fields.  Both use a stored procedures (IBStoredProc) to calculate the
fields.  The Stored procedures are prepared before the Datasets are ever
opened.

The code always breaks in ibsql.pas, on the Call statement below....:

procedure TIBSQL.Close;
var
  isc_res: ISC_STATUS;
begin
  try
    if (FHandle <> nil) and (SQLType = SQLSelect) and FOpen then begin
      isc_res := Call(
                   isc_dsql_free_statement(StatusVector, @FHandle,
DSQL_close),
                   False);
      if (StatusVector^ = 1) and (isc_res > 0) and
        not CheckStatusVector(
              [isc_bad_stmt_handle, isc_dsql_cursor_close_err]) then
        IBDatabaseError;
    end;
  finally
    FEOF := False;
    FBOF := False;
    FOpen := False;
    FRecordCount := 0;
  end;
end;

Help?

BTW, I was using IBSQL's before to fetch the data I wanted....but I was
receiving Access Violations then, too.  I hoped I could rid myself of the
AV's by reducing the number of calls being made.  But to no avail.

Kevin Burge
Systemware, Inc.