"Field FIELD2 not found" ODAC 6.25.1.13

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cis-wurzen
Posts: 75
Joined: Tue 04 Jan 2005 10:26

"Field FIELD2 not found" ODAC 6.25.1.13

Post by cis-wurzen » Thu 07 Feb 2008 16:17

AsString at Clob-Fields throws Exception "Field XXX not found" if DataSet is not active. With ODAC v5.80 an empty string is returned.

Steps to reproduce:

1. Create a table.

Code: Select all

CREATE TABLE TEST (FIELD1 VARCHAR2(40), FIELD2 CLOB)
2. Create a new VCL-Application, put a TOraQuery and a TButton on the form.
3. Write SELECT * FROM TEST into SQL-property.
4. Create persitent fields (OraQuery1FIELD1, OraQuery1FIELD2)
5. Create Button1Click

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
  if OraQuery1FIELD1.AsString = '' then ShowMessage('Field 1 Empty'); // works
  if OraQuery1FIELD2.AsString = '' then ShowMessage('Field 2 Empty'); // exception
end;
6. Run application and press the button.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 08 Feb 2008 13:23

We have fixed this problem. The fix will be included in the next build of ODAC.

cis-wurzen
Posts: 75
Joined: Tue 04 Jan 2005 10:26

Post by cis-wurzen » Mon 11 Feb 2008 08:41

When will the next version be available?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 11 Feb 2008 08:55

We are planning to release new ODAC build during this week.

Post Reply