Subject | Re: [IBO] Filter problem |
---|---|
Author | Helen Borrie |
Post date | 2004-12-07T12:40:18Z |
At 11:06 AM 7/12/2004 +0000, you wrote:
problem, syntactically. But it's the second argument that is your problem
here. It is not a valid expression.
Helen
>I use TIBOQuery / TDataSource / TIB_Monitor objects. The full code isIf you have these UDFs and you know that they work, then that is no
>next:
>
>dbnominas->SQL->Clear();
>dbnominas->SQL->Add ( "select......" );
>dbnominas->Open();
>.
>.
>.
>Then filter it
>.
>.
>.
>dbnominas->Filtered = false;
>dbnominas->Filter = "lefts(destcon,2) = rights('" + ( AnsiString )
>dbcentro->FieldValues["centro"] + "',2) ";
>dbnominas->Filtered = true;
>.
>.
>.
>Also, I used to manage lefts and rights UDF functions (extract from
>ibphoenix I think).
problem, syntactically. But it's the second argument that is your problem
here. It is not a valid expression.
Helen