Subject | RE: [IBO] TIBOQuery + TClientDataSet = EDatabaseError |
---|---|
Author | Support List |
Post date | 2011-11-08T23:09:41Z |
> In a form, insert one TIBODatabase, TDataSetProvider, one TClientDataSet,Because I don't have the database, or even the DDL to generate it, I was
> and one TIBOQuery.
>
> Enter the properties of IBODatabase1 and tie the IBOQuery1 and
> IBODatabase1.
>
> Then, in the source:
> DataSetProvider1->DataSet=IBOQuery1;
> ClientDataSet1->SetProvider(DataSetProvider1);
> IBOQuery1->SQL->Text="SELECT COUNT(*) AS RECORDS FROM ORDERD";
> ClientDataSet1->Open();
>
> It generates a "EDatabaseError" exception, with "Field OrderId not found".
unable to work on this issue. Please provide a working sample app or
complete instructions so that I can generate it.
Thanks,
Jason
www.ibobjects.com