?
Solved

To all

Posted on 1998-06-10
2
Medium Priority
?
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
terencebeh earned 200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Suggested Courses

741 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