Subject RE: [IBO] Checking Parameters Value
Author Claudio Valderrama C.
I have used ParamCount and Params with TIB_Queries... and TIBOQueries, too
and they say NULL only when they are NULL... maybe some issue with BCB?

C.

> -----Original Message-----
> From: Yagi [mailto:yagi@...]
> Sent: Jueves 29 de Marzo de 2001 9:22
> To: IBObjects
> Subject: [IBO] Checking Parameters Value
>
>
> Hi,
>
> How to check if Params for Query have values?
>
> I did something like this
>
> for(int i = 0; i < ibqRaport->Params->ColumnCount; i++)
> {
> if(ibqRaport->Params->Columns[i]->IsNull)
> {
> Application->MessageBox(AnsiString("Give me value of param " +
> ibqRaport->Params->Columns[i]->FieldName + ".").c_str(),
> Application->Title.c_str(), MB_OK | MB_ICONEXCLAMATION);
> Abort();
> }
> }
>
> but ibqRaport->Params->Columns[i]->IsNull is always true.
> (Query is prepared).
>
> What's wrong with this?
>
> Regards
>
> Yagi
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>