Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
RecordCount |
Fri, Feb 14 2014 1:05 PM | Permanent Link |
John Postnikoff | I am trying to save the RecordCount from a query to a var to simply show how many rows I have from from the query results so I can trigger some other events, or build some exceptions. Looking for an example. John |
Mon, Feb 17 2014 7:28 PM | Permanent Link |
John Easley | Just use the RecordCount from the query component.
Var RecNums: integer; begin DbisamQuery1.Open; RecNums := DbisamQuery1.recordcount; if RecNums = 0 then raise exception.create('No records found'); end; John John Postnikoff wrote: I am trying to save the RecordCount from a query to a var to simply show how many rows I have from from the query results so I can trigger some other events, or build some exceptions. Looking for an example. John |
Tue, Feb 18 2014 4:38 PM | Permanent Link |
John Postnikoff | Thanks John,
I had something very simple mixed up. John Easley wrote: Just use the RecordCount from the query component. Var RecNums: integer; begin DbisamQuery1.Open; RecNums := DbisamQuery1.recordcount; if RecNums = 0 then raise exception.create('No records found'); end; John John Postnikoff wrote: I am trying to save the RecordCount from a query to a var to simply show how many rows I have from from the query results so I can trigger some other events, or build some exceptions. Looking for an example. John |
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 |