![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Addressed for Version 4.31 » View Incident Report |
![]() |
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 Sunday, May 4, 2025 at 12:25 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |