Results 1 to 2 of 2

Thread: I've Got one that will get you thinking

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Freeport
    Posts
    204

    Post

    I want to know the number of the row that I just use data1.findfirst on. I need to know the row number so I can then minus 14 from the row number.
    DBGrid.row = "The minus 14th row"

  2. #2
    Guest

    Post

    OK, If I am correct in what your wanting.. try this..

    Dim AA as Integer
    Dim X as Integer

    AA=dtgMain.RowContaining(X)

    'then after this add it up...
    DBGrid.row = AA - 14

    I may have it screwed up as far as the Dim Statements, but this should give you a boost in the right direction.


    ------------------
    John T. Mieske
    Star Trek LCARS programmer

    Knight Vision Enterprises
    [email protected]

Posting Permissions

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



Click Here to Expand Forum to Full Width