Solved

To all

Posted on 1998-06-10
2
140 Views
Last Modified: 2010-05-03
Hi all,
   I'm using the True DBGrid standard Edition also known as "Big Jake"
Version (1.0e). I have created a Grid with 5 columns and 5 rows in my Visual
Basic 4.0 applicaton and I have set my data mode to "Unbound Extended-Mode 2"
Assuming my cursor are now place at
Column 3,Row 3. If I were to start typing data into Column3, Row 3, may I
ask how can I capture the position of this particular cell with the
available Grid methods or Events so that I would be able to pass these two
parameters(ie the specific column and row number,(3,3) in this case) to my
error routine to validate the data entered.
I would be most grateful if anyone could enlighten me with the necessary
codes.
Thank You.
0
Comment
Question by:kian042298
2 Comments
 
LVL 1

Accepted Solution

by:
terencebeh earned 100 total points
ID: 1462977
1. At the KeyPress event of the grid, do you validation.
2. Use dbgrid.columns(dbgrid.col).value

0
 

Author Comment

by:kian042298
ID: 1462978
Hi terencebeh,
   Do you have any ideas or some sample codes to my question.
Thank You.

Best regards,

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding to a VBA? 6 61
MS SQL store procedure to calculate and return result 6 49
VB6 - Convert HH:MM into Decimal 8 51
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 45
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

912 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now