|
-
Oct 30th, 2000, 01:32 PM
#1
Thread Starter
New Member
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?
-
Nov 1st, 2000, 02:48 AM
#2
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|