Subject | Re: [IBO] HDR Errors |
---|---|
Author | IB Objects |
Post date | 2003-08-01T23:45:37Z |
> 1. Error:HDR doesn't work with NULL values and I need to document that more clearly.
> When odering by a Column that has Values and Null Values
> normally the values are desplayed first then Null Values last.
>
> If HDR is active all Rows that are Null in the Column are filtered out
> and not displayed at all. Note I also can't scroll into those rows.
I would like to get it to work with NULLs but I don't know how to do so and
maintain queries that optimize well.
> I have a Column with a Numeric(15,2) not null definition. Defined as Moneythe
> in IBO.
> When I order by this normally without HDR it works.
>
> When ordering with HDR I get (upon pressing the little ordering Icon in
> header):INT64
>
> EConvert Error: -9223372036854775808 is not a valid floating point value:
>
> in IBA_BDataset.INT line 2876
> going into IBA_Column.INT
> and throwing the exception on line 2308
>
> the problem looks to be that the code is assigning the smalles possible
> value to a currency field that does uses the last 4 digits as scaling.I need to take a closer look at this. I've logged this in my bugs list.
>
> call stack:
> TIB_ColumnNumeric.SetAsString('-9223372036854775808')
> TIB_BDataset.SetOrderingRefineStr('-9223372036854775808')
> TIB_BDataset.SysBeforeExecuteForOutput
> TIB_Statement.SysExecute
> TIB_Dataset.SysExecute
> TIB_Dataset.SysOpen
> TIB_Dataset.SysRefresh(False,???)
> TIB_Dataset.RefreshKeys
> TIB_Dataset.SetOrderingItemNo(???)
> TIB_CustomGrid.UpdateOrdering(???,???)
> TIB_CustomGrid.MouseUp(mbLeft,[],429,11)
> Application
Thanks,
Jason Wharton