TOraLoader: OraClient11.Dll error
Posted: Wed 24 Aug 2011 07:02
Hi.
I'm new user of ODAC.
I have the latest stable version and using Delphi 2007.
I tried to use TOraLoader, but I can't even compile project and Delphi returns me an error.
My code is like this:
When I compile, Delphi returns: [DCC Error] F2092 Program or unit 'ORALOADER' recursively uses itself
What am I doing wrong? In this example I try to insert one row in first field (type string) and second field (type number).
Thanks for help.
I'm new user of ODAC.
I have the latest stable version and using Delphi 2007.
I tried to use TOraLoader, but I can't even compile project and Delphi returns me an error.
My code is like this:
Code: Select all
unit aOraLoader;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBAccess, Ora, DALoader, OraLoader, Buttons, BCBtns;
type
TForm1 = class(TForm)
OraSession1: TOraSession;
OraLoader1: TOraLoader;
ExtSpeedButton1: TExtSpeedButton;
procedure ExtSpeedButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.ExtSpeedButton1Click(Sender: TObject);
begin
OraLoader1.PutColumnData(0,1,'ABDUL');
OraLoader1.PutColumnData(1,1,17);
OraLoader1.Load;
end;
end.What am I doing wrong? In this example I try to insert one row in first field (type string) and second field (type number).
Thanks for help.