Results 1 to 8 of 8

Thread: cDbCJGrid writing number of rows into a text file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2014
    Location
    Fresno, CA
    Posts
    4

    Question cDbCJGrid writing number of rows into a text file

    Hello Everyone,

    I am new to VDF and I am still in training. At the moment I am testing the new VDF 18.0 Beta 4. I have migrated the Order Entry windows example into a MS SQL server and I am testing the new psSQLFilters. I am loading the data onto a cDbCJGrid and setting two different SQLFilters that are being triggered with buttons at the moment. I need to be able to get the number of rows that are displayed after the filter has been triggered into a text file. My problem is that the number is being written into the text file multiple times. I believe that it gets written into the text file according to the number of times the grid loops through my OnComBeforeDrawRow procedure. I want to be able to only write the line once. I know that there has to be a way for me to call my LogRecordNumber somewhere other than within the OnComBeforeDrawRow procedure. Although if I call it too early it is obvious that it won't contain the number of rows. Any help would be appreciated. I have attached the vw file.

    Thank you,

    Karina
    Attached Files Attached Files
    When Life Gives You Questions, Google has Answers

    - AJ Carpio

Tags for this Thread

Posting Permissions

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