Why this code don´t execute ?

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
JoaoShi
Posts: 1
Joined: Thu 24 Apr 2008 02:02

Why this code don´t execute ?

Post by JoaoShi » Thu 24 Apr 2008 02:15

This code return error SqlDataSet1 : Field RDB$RELATION_NAME not found.

Code: Select all

procedure TForm2.Button1Click(Sender: TObject);
begin
  ClientDataSet1.Close;
  sqlDataSet1.CommandText :=
       'SELECT RDB$FIELD_NAME FROM RDB$RELATION_FIELDS' +
       '  WHERE (RDB$FIELD_NAME = ''FILIALBASE'') AND (RDB$RELATION_NAME = ''CPLOTE'') ';
  ClientDataSet1.Open;
end;
I´m use RAD2007 and DbExpress

Thank´s

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

Post by Plash » Fri 25 Apr 2008 08:25

We could not reproduce the problem. Please send to dbxida*crlab*com a complete small sample that demonstrates the problem, including the script for creating database objects.

Post Reply