Results 1 to 2 of 2

Thread: Rowloaded anyone?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Sunny SouthWest Florida
    Posts
    5

    Exclamation

    Has anyone used the "Rowloaded" event for DBGrid in VB5-6?
    I need to use it to fill a custom column, but cannot find it in DBGrid's event list nor anywhere!!

    Has someone used this that can tell me in a couple of words how to?

  2. #2
    New Member
    Join Date
    Nov 2000
    Location
    Montreal, Canada
    Posts
    14

    Talking

    Hi MattG,
    I've looked in my books and this is what i've found:

    RowLoaded Event is trigerred every time the DBGrid load a row from the database provided through the data control.
    RowLoaded allows the application to respond to the loading of new data.

    ARGUMENTS:
    Name - Name property of DBGrid
    Index - Index property of DBGrid (if DBGrid is part of a control array)
    Bookmark - A string that provides the bookmark for the newly loaded row (record)

    SYNTAX:
    Private Sub DBGrid1_RowLoaded (Bookmark As String)

    'this routine keeps a count of the number of rows
    'loaded and updates a status panel on the form

    Form1.pnlRowCount = Form1.pnlRowCount +

    NOTE:
    This event can be trapped to allow the application to provide calculated values for an unbound field or to otherwise respond to the adding of a new row.

    I hope this answers your question



    [Edited by Nemo on 11-01-2000 at 03:07 AM]
    File not found!
    Abort, Retry, Get a Beer...

    L8r

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