Subject RE: [IBO] Transaction.RollbackRetaining Error?
Author Yohans
I have a Employee form.

When I click Insert Button:

procedure TFormEmployee.InsertBtnClick(Sender: TObject);
begin
MastData.Employee.Append;
Kode.SetFocus;
end;

procedure TFormEmployee.CancelBtnClick(Sender: TObject);
begin
Mastdata.Employee.Cancel;
end;

In datamodule:

procedure TMastData.EmployeeAfterCancel(DataSet: TDataSet);
begin
Transaction.RollbackRetaining;
end;

I used TIB_Connection and TIB_Transaction in datamodule. The same error
message appear when I used TIBODatabase and TIBOTransaction.
If I erase Transaction.RollbackRetaining, error message not appear.

Thanks You for your respond.
Yohans.

-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: 11 Januari 2004 8:55
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Transaction.RollbackRetaining Error?

Please provide for me a very simple sample application that will
duplicate
this problem.

Thanks,
Jason Wharton
www.ibobjects.com

----- Original Message -----
From: "Yohans" <yohans@...>
To: <IBObjects@yahoogroups.com>
Sent: Saturday, January 10, 2004 10:25 AM
Subject: [IBO] Transaction.RollbackRetaining Error?


> Hi list,
> I use IBO Version 4.2.Db.
> When I run TIBOTable.Insert from my Insert button, then I run
> TIBOTable.Cancel from Cancel Button, and in TIBOTable.AfterCancel
event
> I wrote: Transaction.RollBackRetaining, an error appear: Access
> violation at address.. When I click OK button, this error reference at
> IB_Utils. Why?
>
> Thanks You for Your respond.
> I'm sorry if my English not good.
>
>
> Yohans.
>


________________________________________________________________________
___
IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
without the need for BDE, ODBC or any other layer.
________________________________________________________________________
___
http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
keyword-searchable FAQ, community code contributions and more !


Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/IBObjects/

To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/