Solved

double binding

Posted on 1998-05-29
1
188 Views
Last Modified: 2010-08-05
I need to double bind bound MS Brid (TDBGRIDS)
How I can read last row from bound grid, what event should I use, I need to use event that leaves row(insert or ?)
You know when you fill a row and go to next row then the actual inserting occurs in grid ( I need the event name
not philosophy). I know event rowcolchange but this occurs when pointer leaves cell, I do not know how to use it to read a row.
Any help appreciated.
0
Comment
Question by:mativare
1 Comment
 
LVL 18

Accepted Solution

by:
deighton earned 50 total points
ID: 1462047
I think you need Events

Private Sub DBGrid1_BeforeUpdate(Cancel As Integer)
Private Sub DBGrid1_BeforeInsert(Cancel As Integer)
Private Sub DBGrid1_AfterUpdate(Cancel As Integer)
Private Sub DBGrid1_AfterInsert(Cancel As Integer)

One of these.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question