Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 4 of 4

Thread: Count number of records returned by doSelect()

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    6

    Default Count number of records returned by doSelect()

    Hi,

    Does anyone have a way of counting records returned by a doSelect() on an SCFile object ? I can write a function to do it if the SCFile object and the SCFile object populated by the query is passed, however I can't seem to use any of the supplied functions ?

    thanks

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Which function are you not able to use?

    To my knowledge you need to loop through the results and count manually. I don't have access to it here but I have a small javascript that do a count on a query.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    6

    Default

    Tommy - thanks .... thats what I did already. I just kind of thought there would be a simple method of a SCFile object which would count the records in a recordset, e.g. like the RecordCount method of an ADO recordset .... however I think u just confirmed there isn't !

    thx

  4. #4
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Well I didn't find it documented so had to make my own.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts