Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Addressed for Version 4.31 » View Incident Report |
Serious |
Reported By: Frank Roloff [Next GmbH] Reported On: 11/27/2011 For: Version 4.31 Build 2 |
var Q: TDBISAMQuery; begin Q := TDBISAMQuery.Create(Database); try try Q.SessionName := Database.SessionName; Q.DatabaseName := Database.DatabaseName; Q.SQL.Add('select count("' + Field + '") as FldCount from ' + Table); if Where <> '' then Q.SQL.Add(' where ' + Where + ';'); Q.Open; <<-- EXCEPTION OCCURS HERE! if Q.FieldByName('FldCount').IsNull then Result := 0 else Result := Q.FieldByName('FldCount').Value; Q.Close; except Result := 0; end; finally Q.Free; end;
This web page was last updated on Wednesday, October 30, 2024 at 11:41 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |