Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 2 of 2 total |
Bug in TDBISAMTable.Locate w/ TLargeIntField & null variant |
Thu, Feb 9 2006 5:09 PM | Permanent Link |
Sean McCall | Tim,
TDBISAMTable.Locate has a problem when passed a null variant for a large integer field. I've included the problem code with a possible patch. 4.22 Build 5. Sean <SNIP> TempField:=TField(Fields[I]); if TempField.IsBlob then DatabaseErrorFmt(SNoBlobLocate,[TempField.FieldName],Self) <PATCH START> else if VarIsNull(KeyValues[I]) then begin TempField.Clear; end {if null value} <PATCH END> else begin if (TempField is TLargeIntField) then TLargeIntField(TempField).AsLargeInt:=KeyValues[I] else TempField.Value:=KeyValues[I]; end; end; <SNIP> |
Fri, Feb 10 2006 2:53 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Sean,
<< TDBISAMTable.Locate has a problem when passed a null variant for a large integer field. I've included the problem code with a possible patch. 4.22 Build 5. >> Thanks. You are correct and a fix will be in the next build. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |